diff options
author | Priit Laes <plaes@plaes.org> | 2010-08-07 13:33:25 +0300 |
---|---|---|
committer | Priit Laes <plaes@plaes.org> | 2010-08-07 13:33:25 +0300 |
commit | d782313f4bd5381d6642c07bfaae85ea4b23367a (patch) | |
tree | 124f0c131e36488e6b548cceadd4e61e2846fc43 | |
parent | Added some basic style (diff) | |
download | gsoc2010-grumpy-d782313f4bd5381d6642c07bfaae85ea4b23367a.tar.gz gsoc2010-grumpy-d782313f4bd5381d6642c07bfaae85ea4b23367a.tar.bz2 gsoc2010-grumpy-d782313f4bd5381d6642c07bfaae85ea4b23367a.zip |
Show number of pkg issues in portage view
-rw-r--r-- | grumpy/static/css/style.css | 8 | ||||
-rw-r--r-- | grumpy/templates/browse_cat.html | 6 |
2 files changed, 9 insertions, 5 deletions
diff --git a/grumpy/static/css/style.css b/grumpy/static/css/style.css index a78ed27..6942d28 100644 --- a/grumpy/static/css/style.css +++ b/grumpy/static/css/style.css @@ -16,8 +16,8 @@ body { } ul.usernav li { - list-style-type: none; - display: inline; - margin: 0; - padding: 0 0 0 10px; + list-style-type: none; + display: inline; + margin: 0; + padding: 0 0 0 10px; } diff --git a/grumpy/templates/browse_cat.html b/grumpy/templates/browse_cat.html index e2c2dc0..6de7e15 100644 --- a/grumpy/templates/browse_cat.html +++ b/grumpy/templates/browse_cat.html @@ -5,7 +5,11 @@ <ul> <li><a href="{{ url_for('index') }}">..</a></li> {% for pkg in pkgs %} - <li><a href="{{ url_for('browse_pkg', cat=cat, pkg=pkg.pkg)}}">{{ pkg.pkg | e }}</a></li> + <li><a href="{{ url_for('browse_pkg', cat=cat, pkg=pkg.pkg)}}">{{ pkg.pkg | e }}</a> + {% if pkg.qaissues %} + {{ pkg.qaissues | length }} issue(s)</span> + {% endif %} + </li> {% endfor %} <ul> {% endblock %} |