manual: Fix manual page links for tor and power templates

Signed-off-by: Joseph Nuthalapati <njoseph@thoughtworks.com>
This commit is contained in:
Joseph Nuthalapati 2018-03-23 10:44:41 +05:30
parent 4064d6e231
commit c03cbb3cf3
No known key found for this signature in database
GPG Key ID: 5398F00A2FA43C35
3 changed files with 18 additions and 22 deletions

View File

@ -25,13 +25,7 @@
{% block content %}
{% block pagetitle %}
<h2>{{ title }}
{% if manual_page %}
<a href="{% url 'help:manual-page' manual_page %}">
<img class="manual-page" src="{% static 'theme/icons/manual.png' %}" alt="Manual" />
</a>
{% endif %}
</h2>
<h2>{{ title }}</h2>
{% endblock %}
<p>
@ -42,6 +36,14 @@
{% endblocktrans %}
</p>
{% if manual_page %}
<p class="manual-page">
<a href="{% url 'help:manual-page' manual_page %}">
{% trans 'Learn more...' %}
</a>
</p>
{% endif %}
{% if pkg_manager_is_busy %}
<div class="alert alert-danger">
{% blocktrans trimmed %}

View File

@ -25,13 +25,7 @@
{% block content %}
{% block pagetitle %}
<h2>{{ title }}
{% if manual_page %}
<a href="{% url 'help:manual-page' manual_page %}">
<img class="manual-page" src="{% static 'theme/icons/manual.png' %}" alt="Manual" />
</a>
{% endif %}
</h2>
<h2>{{ title }}</h2>
{% endblock %}
<p>
@ -41,6 +35,14 @@
{% endblocktrans %}
</p>
{% if manual_page %}
<p class="manual-page">
<a href="{% url 'help:manual-page' manual_page %}">
{% trans 'Learn more...' %}
</a>
</p>
{% endif %}
{% if pkg_manager_is_busy %}
<div class="alert alert-danger">
{% blocktrans trimmed %}

View File

@ -32,14 +32,6 @@
{% block configuration %}
{% if manual_page %}
<p class="manual-page">
<a href="{% url 'help:manual-page' manual_page %}">
{% trans 'Learn more...' %}
</a>
</p>
{% endif %}
{% include "clients.html" with clients=clients %}
<h3>{% trans "Status" %}</h3>