diff options
-rw-r--r-- | mediagoblin/templates/mediagoblin/moderation/report.html | 4 | ||||
-rw-r--r-- | mediagoblin/templates/mediagoblin/moderation/user.html | 24 |
2 files changed, 14 insertions, 14 deletions
diff --git a/mediagoblin/templates/mediagoblin/moderation/report.html b/mediagoblin/templates/mediagoblin/moderation/report.html index b05992b7..cedbd49a 100644 --- a/mediagoblin/templates/mediagoblin/moderation/report.html +++ b/mediagoblin/templates/mediagoblin/moderation/report.html @@ -152,9 +152,9 @@ {% else %} <input type=button disabled=disabled value="{% trans %}Resolve This Report{% endtrans %}"/> <p> - {% trans %} + {% trans -%} You cannot take action against an administrator - {% endtrans %} + {%- endtrans %} </p> {% endif %} {% endif %} diff --git a/mediagoblin/templates/mediagoblin/moderation/user.html b/mediagoblin/templates/mediagoblin/moderation/user.html index 103324b2..f45906fb 100644 --- a/mediagoblin/templates/mediagoblin/moderation/user.html +++ b/mediagoblin/templates/mediagoblin/moderation/user.html @@ -59,9 +59,9 @@ <h1> {%- trans username=user.username %}{{ username }}'s profile{% endtrans -%} {% if user_banned and user_banned.expiration_date %} - — {% trans expiration_date=user_banned.expiration_date %} + — {% trans expiration_date=user_banned.expiration_date -%} BANNED until {{ expiration_date }} - {% endtrans %} + {%- endtrans %} {% elif user_banned %} — {% trans %}Banned Indefinitely{% endtrans %} {% endif %} @@ -94,9 +94,9 @@ {% endif %} {% if user %} <h2> - {%- trans username=user.username %} + {%- trans username=user.username -%} Active Reports on {{ username }} - {% endtrans -%} + {%- endtrans -%} </h2> {% if reports.count() %} <table class="admin_side_panel"> @@ -111,9 +111,9 @@ <img src="{{ request.staticdirect('/images/icon_clipboard.png') }}" /> <a href="{{ request.urlgen('mediagoblin.moderation.reports_detail', report_id=report.id) }}"> - {%- trans report_number=report.id %} + {%- trans report_number=report.id -%} Report #{{ report_number }} - {% endtrans -%} + {%- endtrans -%} </a> </td> <td> @@ -131,9 +131,9 @@ <tr><td></td><td></td> </table> {% else %} - {%- trans - username=user.username %}No active reports filed on {{ username }} - {% endtrans -%} + {%- trans username=user.username -%} + No active reports filed on {{ username }} + {%- endtrans -%} {% endif %} <span class="right_align"> <a href="{{ request.urlgen( @@ -143,9 +143,9 @@ · <a href="{{ request.urlgen( 'mediagoblin.moderation.reports') }}?reporter={{user.id}}"> - {%- trans - username=user.username %}All reports that {{ username }} has filed - {% endtrans %}</a> + {%- trans username=user.username -%} + All reports that {{ username }} has filed + {%- endtrans %}</a> </span> <span class=clear></span> <h2>{{ user.username }}'s Privileges</h2> |