Stylistic cleanups to some urlgen calls.
This commit sponsored by Stephane Berube. Thank you!
This commit is contained in:
parent
67c7c81162
commit
397c22d139
@ -117,14 +117,14 @@
|
|||||||
<div class="comment_author">
|
<div class="comment_author">
|
||||||
<img src="{{ request.staticdirect('/images/icon_comment.png') }}" />
|
<img src="{{ request.staticdirect('/images/icon_comment.png') }}" />
|
||||||
<a href="{{ request.urlgen('mediagoblin.user_pages.user_home',
|
<a href="{{ request.urlgen('mediagoblin.user_pages.user_home',
|
||||||
user = comment_author.username) }}">
|
user=comment_author.username) }}">
|
||||||
{{- comment_author.username -}}
|
{{- comment_author.username -}}
|
||||||
</a>
|
</a>
|
||||||
{% trans %}at{% endtrans %}
|
{% trans %}at{% endtrans %}
|
||||||
<a href="{{ request.urlgen('mediagoblin.user_pages.media_home.view_comment',
|
<a href="{{ request.urlgen('mediagoblin.user_pages.media_home.view_comment',
|
||||||
comment = comment.id,
|
comment=comment.id,
|
||||||
user = media.get_uploader.username,
|
user=media.get_uploader.username,
|
||||||
media = media.slug_or_id) }}#comment">
|
media=media.slug_or_id) }}#comment">
|
||||||
{{- comment.created.strftime("%I:%M%p %Y-%m-%d") -}}
|
{{- comment.created.strftime("%I:%M%p %Y-%m-%d") -}}
|
||||||
</a>:
|
</a>:
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user