Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

Small fixes to navigation panel

Roland Geider0f5ee50d5ba0
diff --git a/wger/manager/templates/mobile/navigation.html b/wger/manager/templates/mobile/navigation.html
index 804087bf1..6c81055ae 100644
--- a/wger/manager/templates/mobile/navigation.html
+++ b/wger/manager/templates/mobile/navigation.html
@@ -88,7 +88,7 @@
<li><a href="https://www.transifex.com/projects/p/wger-workout-manager/">{% trans "Translate with Transifex" %} </a></li>
{% cache cache_timeout user-admin-software user.id language.id %}
{% if perms.exercises %}
- <li class="nav-header">{% trans "Administration" %}</li>
+ <li>{% trans "Administration" %}</li>
<li><a href="{% url 'config:language-overview' %}">{% trans "Languages" %} </a></li>
{% endif %}
{% endcache %}
@@ -120,19 +120,15 @@
{# #}
<div data-role="collapsible" data-content-theme="c">
{% if user.is_authenticated and not user.get_profile.is_temporary %}
- <h3>{% trans "My preferences" %}</h3>
+ <h3>{% trans "Options" %}</h3>
<ul data-role="listview">
<li>
<a href="{% url 'wger.manager.views.user.preferences' %}">
- {% if user.email %}
- {{user.email}}
- {% else %}
- {{user.username}}
- {% endif %}
+ {% trans "Preferences" %}
</a>
</li>
<li>
- <a href="{% url 'logout' %}">{% trans "Logout" %}</a>
+ <a href="{% url 'logout' %}" data-ajax="false">{% trans "Logout" %}</a>
</li>
</ul>
{% else %}