Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

Show info when no diary entries are present

Roland Geiderf218ed87986b
diff --git a/wger/nutrition/templates/log/overview.html b/wger/nutrition/templates/log/overview.html
index 84af74eb8..25aa1fe72 100644
--- a/wger/nutrition/templates/log/overview.html
+++ b/wger/nutrition/templates/log/overview.html
@@ -47,6 +47,12 @@
{{ items.energy }} {% trans "kcal" %}
</td>
</tr>
+ {% empty %}
+ <tr>
+ <td colspan="4">
+ <em>{% trans "nothing found" %}</em>
+ </td>
+ </tr>
{% endfor %}
</tbody>
</table>