[Piuparts-devel] [Git][debian/piuparts][develop] overview.html: makes those images links to their section pages

Holger Levsen gitlab at salsa.debian.org
Mon Oct 15 18:04:14 BST 2018


Holger Levsen pushed to branch develop at Debian / piuparts


Commits:
5f5d9da7 by Holger Levsen at 2018-10-15T17:04:03Z
overview.html: makes those images links to their section pages

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

- - - - -


1 changed file:

- piuparts-report.py


Changes:

=====================================
piuparts-report.py
=====================================
@@ -1861,8 +1861,8 @@ def main():
         counter = 0
         for section in section_names:
             counter += 1
-            rows += ("<td><img src=\"/%s/states.png\" height=\"150\" width=\"266\" alt=\"Binary package states in %s\"></td>") % \
-                (section, section)
+            rows += ("<td><a href=\"/%s/\"><img src=\"/%s/states.png\" height=\"150\" width=\"266\" alt=\"Binary package states in %s\"></a></td>") % \
+                (section, section, section)
             if counter % 4 == 0:
                 rows += "</tr><tr>"
         rows += "</tr>"



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

-- 
View it on GitLab: https://salsa.debian.org/debian/piuparts/commit/5f5d9da7cd69b6fce00c940e34c55f44bbab9eec
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/20181015/2a012998/attachment.html>


More information about the Piuparts-devel mailing list