mirror of
https://gitlab.com/allianceauth/allianceauth.git
synced 2025-07-11 13:30:17 +02:00
Move docu link to top menu and open in new window
This commit is contained in:
parent
32e0621b0a
commit
9ea79ea389
@ -23,12 +23,5 @@ urlpatterns = [
|
|||||||
views.add_character,
|
views.add_character,
|
||||||
name='add_character'
|
name='add_character'
|
||||||
),
|
),
|
||||||
url(
|
|
||||||
r'^help/$',
|
|
||||||
login_required(
|
|
||||||
TemplateView.as_view(template_name='allianceauth/help.html')
|
|
||||||
),
|
|
||||||
name='help'
|
|
||||||
),
|
|
||||||
url(r'^dashboard/$', views.dashboard, name='dashboard'),
|
url(r'^dashboard/$', views.dashboard, name='dashboard'),
|
||||||
]
|
]
|
||||||
|
@ -1,18 +0,0 @@
|
|||||||
{% extends "allianceauth/base.html" %}
|
|
||||||
{% load i18n %}
|
|
||||||
|
|
||||||
{% block page_title %}{% trans "Help" %}{% endblock page_title %}
|
|
||||||
|
|
||||||
{% block content %}
|
|
||||||
<div class="col-lg-12">
|
|
||||||
|
|
||||||
<h1 class="page-header text-center">{% trans "Help" %}</h1>
|
|
||||||
|
|
||||||
<div class="container-fluid">
|
|
||||||
<div class="embed-responsive embed-responsive-16by9">
|
|
||||||
<iframe class="embed-responsive-item" src="https://allianceauth.readthedocs.io/en/latest/features/"></iframe>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
{% endblock content %}
|
|
||||||
|
|
@ -27,14 +27,6 @@
|
|||||||
|
|
||||||
{% menu_items %}
|
{% menu_items %}
|
||||||
|
|
||||||
{% if user.is_superuser %}
|
|
||||||
<li>
|
|
||||||
<a class="{% navactive request 'authentication:help' %}"
|
|
||||||
href="{% url 'authentication:help' %}">
|
|
||||||
<i class="fa fa-question fa-fw"></i> {% trans "Help" %}
|
|
||||||
</a>
|
|
||||||
</li>
|
|
||||||
{% endif %}
|
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -39,6 +39,13 @@
|
|||||||
{% else %}
|
{% else %}
|
||||||
<li><a href="{% url 'authentication:login' %}">{% trans "Login" %}</a></li>
|
<li><a href="{% url 'authentication:login' %}">{% trans "Login" %}</a></li>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
{% if user.is_superuser %}
|
||||||
|
<li>
|
||||||
|
<a href="https://allianceauth.readthedocs.io/" target="_blank">
|
||||||
|
<i class="fa fa-question-circle fa-fw"></i>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
{% endif %}
|
||||||
</ul>
|
</ul>
|
||||||
<form id="f-lang-select" class="navbar-form navbar-right" action="{% url 'set_language' %}" method="post">
|
<form id="f-lang-select" class="navbar-form navbar-right" action="{% url 'set_language' %}" method="post">
|
||||||
{% csrf_token %}
|
{% csrf_token %}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user