Stylistic cleanups to some urlgen calls.

This commit sponsored by Stephane Berube.  Thank you!
This commit is contained in:
Christopher Allan Webber 2013-02-26 13:08:23 -06:00
parent 67c7c81162
commit 397c22d139

View File

@ -117,14 +117,14 @@
<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>