[Piuparts-devel] [Git][debian/piuparts][develop] Move suite "by uploaders" and "by source packages" links further up in navigation menu.
Holger Levsen
gitlab at salsa.debian.org
Wed Oct 17 11:15:22 BST 2018
Holger Levsen pushed to branch develop at Debian / piuparts
Commits:
07ed348d by Holger Levsen at 2018-10-17T10:15:02Z
Move suite "by uploaders" and "by source packages" links further up in navigation menu.
Signed-off-by: Holger Levsen <holger at layer-acht.org>
- - - - -
2 changed files:
- debian/changelog
- piuparts-report.py
Changes:
=====================================
debian/changelog
=====================================
@@ -33,6 +33,8 @@ piuparts (0.93) UNRELEASED; urgency=medium
- Split index.html into about (index.html) and news.html.
- Shuffle some entries on index.html, explain that piuparts.debian.org
exists since 2005 (even though that FQDN is younger).
+ - Move suite "by uploaders" and "by source packages" links further up in
+ navigation menu.
- Minor cleanups.
* Use the new debhelper-compat(=11) notation and drop d/compat.
* CONTRIBUTING: explain never to directly push to the develop nor master
=====================================
piuparts-report.py
=====================================
@@ -744,14 +744,14 @@ def write_template_html(filename, body, mapping={}, defer_if_unmodified=False, m
def create_section_navigation(section_names, current_section, doc_root):
- tablerows = ""
+ tablerows = "<tr><td class=\"contentcell\">%s <a href=\"%s/%s/maintainer/\">by maintainer / uploader</a></td></tr>\n" \
+ % (current_section, doc_root, current_section)
+ tablerows += "<tr><td class=\"contentcell\">%s <a href=\"%s/%s/source/\">by source package</a></td></tr>\n" \
+ % (current_section, doc_root, current_section)
+ tablerows += "<tr class=\"titlerow\"><td class=\"alerttitlecell\">Suites tested</td></tr>"
for section in section_names:
tablerows += ("<tr class=\"normalrow\"><td class=\"contentcell\"><a href='%s/%s'>%s</a></td></tr>\n") % \
(doc_root, html_protect(section), html_protect(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" \
- % (doc_root, current_section)
return tablerows;
View it on GitLab: https://salsa.debian.org/debian/piuparts/commit/07ed348d18e4f524ad771ed860f506edab16ffc0
--
View it on GitLab: https://salsa.debian.org/debian/piuparts/commit/07ed348d18e4f524ad771ed860f506edab16ffc0
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/20181017/ef4e1587/attachment-0001.html>
More information about the Piuparts-devel
mailing list