mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-01-28 08:03:36 +00:00
help: Convert help icon in the navbar to dropdown
- Tested with JavaScript disabled - Tested on mobile Signed-off-by: Joseph Nuthalapati <njoseph@riseup.net> [sunil@medhas.org Add some missing accessibility attributes] Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org> Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
This commit is contained in:
parent
a1243f71f7
commit
7409ea5daa
@ -141,13 +141,50 @@
|
||||
{% block mainmenu_right %}
|
||||
|
||||
{% if user.is_authenticated %}
|
||||
<li>
|
||||
<a href="{% url 'help:index' %}" title="{% trans "Help" %}">
|
||||
<li class="dropdown">
|
||||
<a href="{% url 'help:index' %}" title="{% trans "Help" %}"
|
||||
class="dropdown-toggle" data-toggle="dropdown"
|
||||
role="button" aria-expanded="false" aria-expanded="false">
|
||||
<span class="fa fa-question-circle nav-icon"></span>
|
||||
<span class="nav-text hidden-sm hidden-md hidden-lg">
|
||||
{% trans "Help" %}
|
||||
</span>
|
||||
<span class="caret"></span>
|
||||
</a>
|
||||
<ul class="dropdown-menu" role="menu">
|
||||
<li>
|
||||
<a href="{% url 'help:manual' %}"
|
||||
title="{% trans "Manual"%}">
|
||||
{% trans "Manual" %}
|
||||
</a>
|
||||
</li>
|
||||
<li role="separator" class="divider hidden-xs"></li>
|
||||
<li>
|
||||
<a href="{% url 'help:support' %}"
|
||||
title="{% trans "Get Support" %}">
|
||||
{% trans "Get Support" %}
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="{% url 'help:feedback' %}"
|
||||
title="{% trans "Submit Feedback" %}">
|
||||
{% trans "Submit Feedback" %}
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<a href="{% url 'help:contribute' %}"
|
||||
title="{% trans "Contribute" %}">
|
||||
{% trans "Contribute" %}
|
||||
</a>
|
||||
</li>
|
||||
<li role="separator" class="divider hidden-xs"></li>
|
||||
<li>
|
||||
<a href="{% url 'help:about' %}"
|
||||
title="{% trans "About" %}">
|
||||
{% trans "About" %}
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li class="dropdown">
|
||||
<a href="{% url 'users:edit' request.user.username %}"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user