Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

Use standard header for language selection popup

Roland Geider31c388509375
diff --git a/wger/core/templates/mobile/navigation.html b/wger/core/templates/mobile/navigation.html
index 1315ebdf9..39fef02ae 100644
--- a/wger/core/templates/mobile/navigation.html
+++ b/wger/core/templates/mobile/navigation.html
@@ -3,10 +3,11 @@
<div data-role="popup"
id="language-options-{{request_full_path|slugify}}"
- data-overlay-theme="a"
- class="ui-content">
- <div>
- <h3>{% trans "Language" %}</h3>
+ data-overlay-theme="a">
+ <div data-role="header">
+ <h3>{% trans "Language" %}</h3>
+ </div>
+ <div role="main" class="ui-content">
{% for language in languages %}
{% language_select language %}
{% endfor %}