diff --git a/templates/components/habit_lists.html b/templates/components/habit_lists.html index d6892e8..892535c 100644 --- a/templates/components/habit_lists.html +++ b/templates/components/habit_lists.html @@ -66,6 +66,8 @@
+ {% if habit_list.get_users()[0].id == current_user.id %} + {% if habit_list.get_users()|length > 1 %}
{% for user in habit_list.get_users() %} @@ -75,15 +77,19 @@ {% endfor %}
+ {% endif %}
- +
+ {% else %} +
+ {% endif %}