From e7099e47ba8c49344b5134e0e4d0c379527cddcf Mon Sep 17 00:00:00 2001 From: Julian Leucker <leuckerj@gmail.com> Date: Sun, 28 Jun 2020 13:50:33 +0200 Subject: [PATCH] Update faq.html template --- aleksis/apps/hjelp/templates/hjelp/faq.html | 58 +++++++++++---------- 1 file changed, 30 insertions(+), 28 deletions(-) diff --git a/aleksis/apps/hjelp/templates/hjelp/faq.html b/aleksis/apps/hjelp/templates/hjelp/faq.html index 0ea4a13..3efa816 100644 --- a/aleksis/apps/hjelp/templates/hjelp/faq.html +++ b/aleksis/apps/hjelp/templates/hjelp/faq.html @@ -1,9 +1,11 @@ {% extends 'core/base.html' %} {% load html_helpers i18n %} +{% block page_title %}FAQ ({% trans "Frequently Asked Questions" %}){% endblock page_title %} + +{% block browser_title %}FAQ ({% trans "Frequently Asked Questions" %}){% endblock browser_title %} {% block content %} - <h3>FAQ (Frequently Asked Questions)</h3> {% for section in sections %} <section> <h4> @@ -36,35 +38,35 @@ <p class="flow-text"> - {% blocktrans %} - Your question is not listed above? - {% endblocktrans %} + {% blocktrans %} + Your question is not listed above? + {% endblocktrans %} </p> <p> - {% if user.is_authenticated %} - <a class="btn blue waves-effect waves-green" href="{% url "ask_faq" %}"> - <i class="material-icons left">chat</i> - {% blocktrans %} - Ask your question - {% endblocktrans %} - </a> - {% else %} - {% blocktrans %} - If you have a question please ask one of you site administrators: - {% endblocktrans %} - <ul> - {% for admin in ADMINS %} - <li> - {{ admin.0 }} - < - <a href="mailto:{{ admin.1 }}"> - {{ admin.1 }} - </a> - > - </li> - {% endfor %} - </ul> - {% endif %} + {% if user.is_authenticated %} + <a class="btn blue waves-effect waves-green" href="{% url "ask_faq" %}"> + <i class="material-icons left">chat</i> + {% blocktrans %} + Ask your question + {% endblocktrans %} + </a> + {% else %} + {% blocktrans %} + If you have a question please ask one of you site administrators: + {% endblocktrans %} + <ul> + {% for admin in ADMINS %} + <li> + {{ admin.0 }} + < + <a href="mailto:{{ admin.1 }}"> + {{ admin.1 }} + </a> + > + </li> + {% endfor %} + </ul> + {% endif %} </p> {% endblock %} -- GitLab