Stylistic cleanups to some urlgen calls.
authorChristopher Allan Webber <cwebber@dustycloud.org>
Tue, 26 Feb 2013 19:08:23 +0000 (13:08 -0600)
committerChristopher Allan Webber <cwebber@dustycloud.org>
Tue, 26 Feb 2013 19:08:23 +0000 (13:08 -0600)
This commit sponsored by Stephane Berube.  Thank you!

mediagoblin/templates/mediagoblin/user_pages/media.html

index 876ce850e8794b6b2cfee6695d32165f63a1f1dd..f151c5773a9616c3b8d0023874d324f0cd5146d5 100644 (file)
           <div class="comment_author">
             <img src="{{ request.staticdirect('/images/icon_comment.png') }}" />
             <a href="{{ request.urlgen('mediagoblin.user_pages.user_home',
-                            user = comment_author.username) }}">
+                            user=comment_author.username) }}">
               {{- comment_author.username -}}
             </a>
             {% trans %}at{% endtrans %}
             <a href="{{ request.urlgen('mediagoblin.user_pages.media_home.view_comment',
-                   comment = comment.id,
-                   user = media.get_uploader.username,
-                   media = media.slug_or_id) }}#comment">
+                            comment=comment.id,
+                            user=media.get_uploader.username,
+                            media=media.slug_or_id) }}#comment">
               {{- comment.created.strftime("%I:%M%p %Y-%m-%d") -}}
             </a>:
           </div>