[buildinfo.debian.net] 05/06: Make the <h1> of the binary and source pages links.

Chris Lamb chris at chris-lamb.co.uk
Sun Nov 6 21:03:17 UTC 2016


This is an automated email from the git hooks/post-receive script.

lamby pushed a commit to branch master
in repository buildinfo.debian.net.

commit 96e351af36a668a0b244ffb7faab706ede68ca85
Author: Chris Lamb <lamby at debian.org>
Date:   Sun Nov 6 20:59:09 2016 +0000

    Make the <h1> of the binary and source pages links.
    
    Signed-off-by: Chris Lamb <lamby at debian.org>
---
 templates/packages/binary.html | 2 +-
 templates/packages/source.html | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/templates/packages/binary.html b/templates/packages/binary.html
index 7908d5c..4881cc2 100644
--- a/templates/packages/binary.html
+++ b/templates/packages/binary.html
@@ -6,7 +6,7 @@
 
 <div class="page-header">
   <h1>
-    <span class="label label-default">{{ binary.name }}</span>
+    <a href="{{ binary.get_absolute_url }}"><span class="label label-default">{{ binary.name }}</span></a>
     <small>Binary package</small>
   </h1>
 </div>
diff --git a/templates/packages/source.html b/templates/packages/source.html
index 040f88b..3aa97de 100644
--- a/templates/packages/source.html
+++ b/templates/packages/source.html
@@ -6,7 +6,7 @@
 
 <div class="page-header">
   <h1>
-    <span class="label label-primary">{{ source.name }}</span>
+    <a href="{{ source.get_absolute_url }}"><span class="label label-primary">{{ source.name }}</span></a>
     <small>(source package)</small>
   </h1>
 </div>

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/buildinfo.debian.net.git



More information about the Reproducible-commits mailing list