Improving the whitespace around the {% trans %} adjustments from tilly-q
This commit is contained in:
parent
d1608b0157
commit
eedb6d1f3b
@ -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 %}
|
||||
|
@ -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>
|
||||
|
Loading…
x
Reference in New Issue
Block a user