diff --git a/pagure/static/pagure.css b/pagure/static/pagure.css index 854f71c..32e2470 100644 --- a/pagure/static/pagure.css +++ b/pagure/static/pagure.css @@ -410,3 +410,17 @@ a.notblue { .api h3 { padding-left: 1em; } + +.addrem_bar { + display: inline-block; + width: 100%; + padding: 0px !important; + text-indent:4px; + text-align: left; + background-color: #FDD; +} + +.addrem_bar > span { + display: block; + background-color: #DBFFDB; +} diff --git a/pagure/templates/issues.html b/pagure/templates/issues.html index e0d7a31..e03c169 100644 --- a/pagure/templates/issues.html +++ b/pagure/templates/issues.html @@ -7,18 +7,33 @@ {% block repo %} -

+

{% if status and status != 'Open' %} {{ issues|count }} Closed Issues {% else %} {{ issues|count }} Open Issues {% endif %} -

+ {% if oth_issues %} + +
+ + {% if (issues | length + oth_issues) %} + + + + {{ (100.0 * (1 - issues | length / (issues | length + oth_issues)))|round|int }}% + + + {% endif %} + +
+ + {% endif %}