Self hosted FLOSS fitness/workout, nutrition and weight tracker
Make the guest user notices more prominent on the mobile version
Roland Geider65d6ae46ad6e
diff --git a/wger/manager/templates/mobile/index.html b/wger/manager/templates/mobile/index.htmlindex 88e0e7a0d..5bf7cacd4 100644--- a/wger/manager/templates/mobile/index.html+++ b/wger/manager/templates/mobile/index.html@@ -89,6 +89,10 @@</div></div>+{% if not user.is_authenticated or user.userprofile.is_temporary %}+<p><em>{% trans "You are using a guest account, data entered will be deleted after a week."%}</em></p>+{% endif %}+<div data-role="popup"id="timer-current-workout-{{request_full_path|slugify}}"data-overlay-theme="a">diff --git a/wger/manager/templates/mobile/template.html b/wger/manager/templates/mobile/template.htmlindex 4df84ef27..4858ac675 100644--- a/wger/manager/templates/mobile/template.html+++ b/wger/manager/templates/mobile/template.html@@ -65,6 +65,12 @@</div><div role="main" class="ui-content">{% trans "You are using a guest account, data entered will be deleted after a week."%}+ <a href="{% url 'wger.manager.views.user.registration' %}"+ rel="nofollow"+ data-role="button"+ data-mini="true"+ data-theme="c"+ data-ajax="false">{% trans "Register" %} »</a>{% if not has_demo_data %}<a href="{% url 'demo-entries' %}"rel="nofollow"