From ace1eedeb4dfc323bb033a81f01c9fc3015b092d Mon Sep 17 00:00:00 2001 From: Aurélien Bompard Date: Feb 05 2018 10:00:48 +0000 Subject: Add a message when the My Hubs widget is empty --- diff --git a/hubs/widgets/my_hubs/templates/root.html b/hubs/widgets/my_hubs/templates/root.html index 9997ab9..874cee8 100644 --- a/hubs/widgets/my_hubs/templates/root.html +++ b/hubs/widgets/my_hubs/templates/root.html @@ -1,4 +1,5 @@
+ {% if ownerships or memberships or subscriptions %}
{% endfor %} + {% else %} + No memberships or subscriptions. + {% endif %}