[Piuparts-devel] [Git][debian/piuparts][develop] navigation menu: provide link to suite overview easily accessable

Holger Levsen gitlab at salsa.debian.org
Thu Oct 18 02:08:24 BST 2018


Holger Levsen pushed to branch develop at Debian / piuparts


Commits:
b8c01051 by Holger Levsen at 2018-10-18T01:08:12Z
navigation menu: provide link to suite overview easily accessable

Signed-off-by: Holger Levsen <holger at layer-acht.org>

- - - - -


1 changed file:

- piuparts-report.py


Changes:

=====================================
piuparts-report.py
=====================================
@@ -746,8 +746,8 @@ def write_template_html(filename, body, mapping={}, defer_if_unmodified=False, m
 
 
 def create_section_navigation(section_names, current_section, doc_root):
-    tablerows = "<tr class=\"titlerow\"><td class=\"alerttitlecell\">Suite: %s</td></tr>" \
-                 % (current_section)
+    tablerows = "<tr class=\"titlerow\"><td class=\"alerttitlecell\">Suite: <a href='%s/%s'>%s</a></td></tr>" \
+                 % (doc_root, current_section, current_section,)
     tablerows += "<tr><td class=\"contentcell\"><a href=\"%s/%s/maintainer/\">by maintainer / uploader</a></td></tr>\n" \
                  % (doc_root, current_section)
     tablerows += "<tr><td class=\"contentcell\"><a href=\"%s/%s/source/\">by source package</a></td></tr>\n" \



View it on GitLab: https://salsa.debian.org/debian/piuparts/commit/b8c01051749bf5e30b071f912378d9facf6a7706

-- 
View it on GitLab: https://salsa.debian.org/debian/piuparts/commit/b8c01051749bf5e30b071f912378d9facf6a7706
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/piuparts-devel/attachments/20181018/0e2cb628/attachment.html>


More information about the Piuparts-devel mailing list