aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'grumpy/templates/dashboard.html')
-rw-r--r--grumpy/templates/dashboard.html4
1 files changed, 4 insertions, 0 deletions
diff --git a/grumpy/templates/dashboard.html b/grumpy/templates/dashboard.html
index 65e2860..9788c44 100644
--- a/grumpy/templates/dashboard.html
+++ b/grumpy/templates/dashboard.html
@@ -36,6 +36,7 @@ $(document).ready(function() {
You are not listed as maintainer of any packages
{% endif %}
<h3>Favorite packages</h3>
+{% if g.user.favorites %}
<table id="favorites">
<thead>
<tr><th>Package</th></tr>
@@ -44,4 +45,7 @@ You are not listed as maintainer of any packages
<tr><td>{{ pkg.key | e }}</td></tr>
{% endfor %}
</table>
+{% else %}
+You do not have currently any packages marked as favorite
+{% endif %}
{% endblock %}