Self hosted FLOSS fitness/workout, nutrition and weight tracker
Add info box for empty categories
Roland Geider3f01ce82c605
diff --git a/manager/templates/exercise/overview.html b/manager/templates/exercise/overview.htmlindex 27b605e0d..93311f757 100644--- a/manager/templates/exercise/overview.html+++ b/manager/templates/exercise/overview.html@@ -40,6 +40,14 @@<a href="/exercise/view/{{ exercise.id }}">{{ exercise.name }}</a></td><tr>+ {% empty %}+ <tr>+ <td colspan="2">+ <div class="box warning">+ {% trans "No exercises in this category." %} {% trans "Use link to add one." %}+ </div>+ </td>+ <tr>{% endfor %}{% endfor %}