From eedb6d1f3bc118ac98e713f52692a8399c6dc8e5 Mon Sep 17 00:00:00 2001 From: Christopher Allan Webber Date: Wed, 9 Oct 2013 10:37:30 -0500 Subject: [PATCH] Improving the whitespace around the {% trans %} adjustments from tilly-q --- .../mediagoblin/moderation/report.html | 4 ++-- .../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 %}

- {% trans %} + {% trans -%} You cannot take action against an administrator - {% endtrans %} + {%- endtrans %}

{% 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 @@

{%- 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 %}

- {%- trans username=user.username %} + {%- trans username=user.username -%} Active Reports on {{ username }} - {% endtrans -%} + {%- endtrans -%}

{% if reports.count() %} @@ -111,9 +111,9 @@ - {%- trans report_number=report.id %} + {%- trans report_number=report.id -%} Report #{{ report_number }} - {% endtrans -%} + {%- endtrans -%}
@@ -131,9 +131,9 @@
{% else %} - {%- trans - username=user.username %}No active reports filed on {{ username }} - {% endtrans -%} + {%- trans username=user.username -%} + No active reports filed on {{ username }} + {%- endtrans -%} {% endif %} - {%- trans - username=user.username %}All reports that {{ username }} has filed - {% endtrans %} + {%- trans username=user.username -%} + All reports that {{ username }} has filed + {%- endtrans %}

{{ user.username }}'s Privileges