Skip to content
Snippets Groups Projects
Unverified Commit 22aaf418 authored by Chris Lamb's avatar Chris Lamb :eyes: Committed by Holger Levsen
Browse files

reproducible Debian: Ensure that we can always get back to "home" of this package


I forget what it's called in "Don't Make Me Think" but I keep trying to
click this to get back to the "homepage" for this suite/arch/pkg combo.

Signed-off-by: Chris Lamb's avatarChris Lamb <lamby@debian.org>
Signed-off-by: default avatarHolger Levsen <holger@layer-acht.org>
parent c761e65d
Branches
No related tags found
No related merge requests found
......@@ -362,6 +362,8 @@ def gen_packages_html(packages, no_clean=False):
'history_arch_uri': '{}/{}/{}.html'.format(HISTORY_URI, a, pkg)
})
project_links = renderer.render(project_links_template)
desturl = REPRODUCIBLE_URL + RB_PKG_URI + '/' + suite + \
'/' + arch + '/' + pkg + '.html'
navigation_html = renderer.render(package_navigation_template, {
'package': pkg,
......@@ -376,6 +378,7 @@ def gen_packages_html(packages, no_clean=False):
'project_links_html': project_links,
'reproducible': reproducible,
'dashboard_url': DEBIAN_URL,
'desturl': desturl,
})
body_html = renderer.render(package_page_template, {
......@@ -383,8 +386,6 @@ def gen_packages_html(packages, no_clean=False):
})
destfile = os.path.join(RB_PKG_PATH, suite, arch, pkg + '.html')
desturl = REPRODUCIBLE_URL + RB_PKG_URI + '/' + suite + \
'/' + arch + '/' + pkg + '.html'
title = pkg + ' - reproducible builds result'
write_html_page(title=title, body=body_html, destfile=destfile,
no_header=True, noendpage=True,
......
<h2 class="package-name">{{package}}</h2>
<h2 class="package-name"><a href="{{uri}}">{{package}}</a></h2>
<ul class="menu">
<h4>Test Details
<a href="/debian/index_notify.html" target="_parent">
......
......@@ -145,6 +145,10 @@ header.head {
background: #fafafa;
}
header.head h2.package-name a {
color: #fff;
}
footer {
text-align: center;
margin-top: 1em;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment