diff --git a/bulletin/templates/bulletin/view.html b/bulletin/templates/bulletin/view.html index ca0cffb..0c1e209 100644 --- a/bulletin/templates/bulletin/view.html +++ b/bulletin/templates/bulletin/view.html @@ -76,10 +76,35 @@ {% for meta in metas%} {{ meta.description }} - + {{ meta.media }}% {{ meta.desejada }} % {{ meta.estabelecida }} % - % + + + {% if meta.alcancada < meta.desejada and meta.alcancada > meta.estabelecida %} + {{ meta.alcancada }}% + {% endif %} + + {% if meta.alcancada > meta.desejada and meta.alcancada < meta.estabelecida %} + {{ meta.alcancada }}% + + {% endif %} + + + + + {% if meta.alcancada > meta.desejada and meta.alcancada > meta.estabelecida %} + {{ meta.alcancada }}% + {% endif %} + + + + {% if meta.alcancada < meta.desejada and meta.alcancada < meta.estabelecida %} + {{ meta.alcancada }}% + + {% endif %} + + {% endfor %} -- libgit2 0.21.2