commit:     77851020aa3f7d242cd72b8ef5d82545ba1470a1
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Mon Dec 18 15:41:01 2017 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Mon Dec 18 15:41:01 2017 +0000
URL:        https://gitweb.gentoo.org/proj/qa-scripts.git/commit/?id=77851020

pkgcheck2html: Fix template for errors & warnings

 pkgcheck2html/output.html.jinja | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/pkgcheck2html/output.html.jinja b/pkgcheck2html/output.html.jinja
index 80c5167..a18408c 100644
--- a/pkgcheck2html/output.html.jinja
+++ b/pkgcheck2html/output.html.jinja
@@ -17,13 +17,13 @@
                                        {% for g, pkgs in errors %}
                                                <li class="err heading">{{ g 
}}</li>
                                                {% for pkg in pkgs %}
-                                                       <li class="err"><a 
href="#{{ g|join('/') }}">{{ g|join('/') }}</a></li>
+                                                       <li class="err"><a 
href="#{{ pkg|join('/') }}">{{ pkg|join('/') }}</a></li>
                                                {% endfor %}
                                        {% endfor %}
                                        {% for g, pkgs in warnings %}
                                                <li class="warn heading">{{ g 
}}</li>
                                                {% for pkg in pkgs %}
-                                                       <li class="warn"><a 
href="#{{ g|join('/') }}">{{ g|join('/') }}</a></li>
+                                                       <li class="warn"><a 
href="#{{ pkg|join('/') }}">{{ pkg|join('/') }}</a></li>
                                                {% endfor %}
                                        {% endfor %}
                                        {% for g, pkgs in staging %}

Reply via email to