Improving the whitespace around the {% trans %} adjustments from tilly-q
This commit is contained in:
parent
d1608b0157
commit
eedb6d1f3b
@ -152,9 +152,9 @@
|
|||||||
{% else %}
|
{% else %}
|
||||||
<input type=button disabled=disabled value="{% trans %}Resolve This Report{% endtrans %}"/>
|
<input type=button disabled=disabled value="{% trans %}Resolve This Report{% endtrans %}"/>
|
||||||
<p>
|
<p>
|
||||||
{% trans %}
|
{% trans -%}
|
||||||
You cannot take action against an administrator
|
You cannot take action against an administrator
|
||||||
{% endtrans %}
|
{%- endtrans %}
|
||||||
</p>
|
</p>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
@ -59,9 +59,9 @@
|
|||||||
<h1>
|
<h1>
|
||||||
{%- trans username=user.username %}{{ username }}'s profile{% endtrans -%}
|
{%- trans username=user.username %}{{ username }}'s profile{% endtrans -%}
|
||||||
{% if user_banned and user_banned.expiration_date %}
|
{% 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 }}
|
BANNED until {{ expiration_date }}
|
||||||
{% endtrans %}
|
{%- endtrans %}
|
||||||
{% elif user_banned %}
|
{% elif user_banned %}
|
||||||
— {% trans %}Banned Indefinitely{% endtrans %}
|
— {% trans %}Banned Indefinitely{% endtrans %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
@ -94,9 +94,9 @@
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
{% if user %}
|
{% if user %}
|
||||||
<h2>
|
<h2>
|
||||||
{%- trans username=user.username %}
|
{%- trans username=user.username -%}
|
||||||
Active Reports on {{ username }}
|
Active Reports on {{ username }}
|
||||||
{% endtrans -%}
|
{%- endtrans -%}
|
||||||
</h2>
|
</h2>
|
||||||
{% if reports.count() %}
|
{% if reports.count() %}
|
||||||
<table class="admin_side_panel">
|
<table class="admin_side_panel">
|
||||||
@ -111,9 +111,9 @@
|
|||||||
<img src="{{ request.staticdirect('/images/icon_clipboard.png') }}" />
|
<img src="{{ request.staticdirect('/images/icon_clipboard.png') }}" />
|
||||||
<a href="{{ request.urlgen('mediagoblin.moderation.reports_detail',
|
<a href="{{ request.urlgen('mediagoblin.moderation.reports_detail',
|
||||||
report_id=report.id) }}">
|
report_id=report.id) }}">
|
||||||
{%- trans report_number=report.id %}
|
{%- trans report_number=report.id -%}
|
||||||
Report #{{ report_number }}
|
Report #{{ report_number }}
|
||||||
{% endtrans -%}
|
{%- endtrans -%}
|
||||||
</a>
|
</a>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
@ -131,9 +131,9 @@
|
|||||||
<tr><td></td><td></td>
|
<tr><td></td><td></td>
|
||||||
</table>
|
</table>
|
||||||
{% else %}
|
{% else %}
|
||||||
{%- trans
|
{%- trans username=user.username -%}
|
||||||
username=user.username %}No active reports filed on {{ username }}
|
No active reports filed on {{ username }}
|
||||||
{% endtrans -%}
|
{%- endtrans -%}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<span class="right_align">
|
<span class="right_align">
|
||||||
<a href="{{ request.urlgen(
|
<a href="{{ request.urlgen(
|
||||||
@ -143,9 +143,9 @@
|
|||||||
·
|
·
|
||||||
<a href="{{ request.urlgen(
|
<a href="{{ request.urlgen(
|
||||||
'mediagoblin.moderation.reports') }}?reporter={{user.id}}">
|
'mediagoblin.moderation.reports') }}?reporter={{user.id}}">
|
||||||
{%- trans
|
{%- trans username=user.username -%}
|
||||||
username=user.username %}All reports that {{ username }} has filed
|
All reports that {{ username }} has filed
|
||||||
{% endtrans %}</a>
|
{%- endtrans %}</a>
|
||||||
</span>
|
</span>
|
||||||
<span class=clear></span>
|
<span class=clear></span>
|
||||||
<h2>{{ user.username }}'s Privileges</h2>
|
<h2>{{ user.username }}'s Privileges</h2>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user