From 078ffb73dd0be9f24e4824b1241a1ea91c78e011 Mon Sep 17 00:00:00 2001 From: 0ssifrage Date: Thu, 30 Jan 2014 00:13:39 +0800 Subject: [PATCH] Minor fixes in templates --- june/templates/admin/dashboard.html | 3 +- june/templates/email/find.html | 6 ++-- june/templates/email/layout.html | 10 +++--- june/templates/email/signup.html | 6 ++-- june/templates/index.html | 2 +- june/templates/node/nodes.html | 3 +- june/templates/node/view.html | 3 +- june/templates/snippet/footer.html | 4 +-- june/templates/snippet/google-analytics.html | 2 +- june/templates/topic/view.html | 3 +- june/templates/user/city.html | 35 ++++++++++---------- june/templates/user/topics.html | 4 +-- june/templates/user/users.html | 35 ++++++++++---------- june/templates/user/view.html | 3 +- 14 files changed, 55 insertions(+), 64 deletions(-) diff --git a/june/templates/admin/dashboard.html b/june/templates/admin/dashboard.html index db8ceba..d3b8da7 100644 --- a/june/templates/admin/dashboard.html +++ b/june/templates/admin/dashboard.html @@ -1,9 +1,8 @@ {% extends "layout.html" %} +{% from "snippet/macro.html" import nav, pagination %} {% block subtitle %}{{ _('Dashboard') }}{% endblock %} -{% from "snippet/macro.html" import nav, pagination %} - {% block content %}
diff --git a/june/templates/email/find.html b/june/templates/email/find.html index d5f8dca..fc56a15 100644 --- a/june/templates/email/find.html +++ b/june/templates/email/find.html @@ -1,21 +1,21 @@ {% extends "email/layout.html" %} {% block content %} -

{{ _('Welcome,') }} {{user}}

+

{{ _('Welcome,') }} {{ user }}

{% trans -%} You have submitted a find password request, follow the link below to find your password. If you didn't make the request, ignore this email. {%- endtrans %}

-

{{_('Find Password')}}

+

{{ _('Find Password') }}



{% trans -%} You can copy and paste the link to your browser address bar: {%- endtrans %}
-

{{link}}

+

{{ link }}



{% trans %}This link will expire in 24 hours.{% endtrans %} diff --git a/june/templates/email/layout.html b/june/templates/email/layout.html index cad2724..0f26cc8 100644 --- a/june/templates/email/layout.html +++ b/june/templates/email/layout.html @@ -4,9 +4,9 @@ - + - {{config.SITE_TITLE}} + {{ config.SITE_TITLE }}