diff --git a/store/templates/wishlist.html b/store/templates/wishlist.html index c86f5a45..e967ae67 100644 --- a/store/templates/wishlist.html +++ b/store/templates/wishlist.html @@ -81,13 +81,27 @@ {% endif %} + {% set this_app_stars = stars.get(app, {})|length %} + {% if user %} + {% set user_starred_this_app = user['id'] in stars.get(app, {}) %} + {% else %} + {% set user_starred_this_app = False %} + {% endif %} - {{ stars.get(app, {})|length }} - - + {% if not user_starred_this_app %} + {{ this_app_stars }} + + + + {% else %} + {{ this_app_stars }} + + + + {% endif %}