Fixed a small typo that was causing the mediagoblin.moderation.users_detail
authortilly-Q <nattilypigeonfowl@gmail.com>
Sun, 8 Dec 2013 17:40:47 +0000 (12:40 -0500)
committertilly-Q <nattilypigeonfowl@gmail.com>
Sun, 8 Dec 2013 17:40:47 +0000 (12:40 -0500)
page to crash.

mediagoblin/templates/mediagoblin/moderation/user.html

index 54d6473ffe59947942b8de47964ddbcbcacc7dfc..6335ea1266fe3543c0be0f88b5c18da120904dfc 100644 (file)
         {%- endtrans %}</a>
     </span>
     <span class=clear></span>
-    <h2>{% trans %}{{ user.username }}'s Privileges{% endtrans %}</h2>
+    <h2>{% trans username=user.username -%}
+          {{ username }}'s Privileges{% endtrans %}</h2>
       <form method=POST action="{{ request.urlgen(
         'mediagoblin.moderation.ban_or_unban',
         user=user.username) }}" class="right_align">