{% extends "base.html" %} {% block main %}
Name | Description | Popularity | ||
---|---|---|---|---|
{{ infos['name'] }} | {{ infos['description'] }} | {% if infos['website'] %} {% endif %} | {% if infos['upstream'] %} {% 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 %} {% if not user_starred_this_app %} {{ this_app_stars }} {{ this_app_stars+1 }} {% else %} {{ this_app_stars }} {{ this_app_stars-1 }} {% endif %} |