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 committed 2018-03-23 10:44:41 +05:30
1 parent 4064d6e231
commit c03cbb3cf3
3 files changed
+18 -22

No files matched your search

@@ -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 %}
@@ -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 %}
-8
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>