Self hosted FLOSS fitness/workout, nutrition and weight tracker
Show messages on fetaure page
Roland Geider383bbe3c8b8c
diff --git a/wger/core/templates/base_features.html b/wger/core/templates/base_features.htmlindex 6ccab61a7..57dd6656a 100644--- a/wger/core/templates/base_features.html+++ b/wger/core/templates/base_features.html@@ -2,6 +2,15 @@{% block template %}<div class="row" style="margin-top: 3em;"><div class="col-md-10 col-md-offset-1" id="main-content">+ {% if messages and not no_messages %}+ {% for message in messages %}+ <div class="alert {% if message.tags == 'warning'%}alert-error{% elif message.tags == 'info' %}alert-info{% elif message.tags == 'success' %}alert-success{% endif %}">+ <a href="#" class="close extra-bold" data-dismiss="alert">×</a>+ {{message}}+ </div>+ {% endfor %}+ {% endif %}+{% block content %}{% endblock %}</div></div>