changeset 7314:a0843c82d1a2

coal/paper: link repo name to hgweb root
author Dirkjan Ochtman <dirkjan@ochtman.nl>
date Wed, 05 Nov 2008 09:48:56 +0100
parents 15981c8f6cf1
children 408cf9eb9e5d
files templates/coal/changeset.tmpl templates/coal/error.tmpl templates/coal/fileannotate.tmpl templates/coal/filediff.tmpl templates/coal/filelog.tmpl templates/coal/filerevision.tmpl templates/coal/graph.tmpl templates/coal/manifest.tmpl templates/coal/search.tmpl templates/coal/shortlog.tmpl templates/coal/tags.tmpl templates/static/style-coal.css templates/static/style-paper.css
diffstat 13 files changed, 13 insertions(+), 16 deletions(-) [+]
line wrap: on
line diff
--- a/templates/coal/changeset.tmpl	Wed Nov 05 09:42:52 2008 +0100
+++ b/templates/coal/changeset.tmpl	Wed Nov 05 09:48:56 2008 +0100
@@ -25,7 +25,7 @@
 
 <div class="main">
 
-<h2>{repo|escape}</h2>
+<h2><a href="{url}">{repo|escape}</a></h2>
 <h3>changeset {rev}:{node|short} {changesettag}</h3>
 
 <form class="search" action="{url}log">
--- a/templates/coal/error.tmpl	Wed Nov 05 09:42:52 2008 +0100
+++ b/templates/coal/error.tmpl	Wed Nov 05 09:48:56 2008 +0100
@@ -18,7 +18,7 @@
 
 <div class="main">
 
-<h2>{repo|escape}</h2>
+<h2><a href="{url}">{repo|escape}</a></h2>
 <h3>error</h3>
 
 <form class="search" action="{url}log">
--- a/templates/coal/fileannotate.tmpl	Wed Nov 05 09:42:52 2008 +0100
+++ b/templates/coal/fileannotate.tmpl	Wed Nov 05 09:48:56 2008 +0100
@@ -29,7 +29,7 @@
 </div>
 
 <div class="main">
-<h2>{repo|escape}</h2>
+<h2><a href="{url}">{repo|escape}</a></h2>
 <h3>annotate {file|escape} @ {rev}:{node|short}</h3>
 
 <form class="search" action="{url}log">
--- a/templates/coal/filediff.tmpl	Wed Nov 05 09:42:52 2008 +0100
+++ b/templates/coal/filediff.tmpl	Wed Nov 05 09:48:56 2008 +0100
@@ -28,7 +28,7 @@
 </div>
 
 <div class="main">
-<h2>{repo|escape}</h2>
+<h2><a href="{url}">{repo|escape}</a></h2>
 <h3>diff {file|escape} @ {rev}:{node|short}</h3>
 
 <form class="search" action="{url}log">
--- a/templates/coal/filelog.tmpl	Wed Nov 05 09:42:52 2008 +0100
+++ b/templates/coal/filelog.tmpl	Wed Nov 05 09:48:56 2008 +0100
@@ -32,8 +32,7 @@
 </div>
 
 <div class="main">
-
-<h2>{repo|escape}</h2>
+<h2><a href="{url}">{repo|escape}</a></h2>
 <h3>log {file|escape}</h3>
 
 <form class="search" action="{url}log">
--- a/templates/coal/filerevision.tmpl	Wed Nov 05 09:42:52 2008 +0100
+++ b/templates/coal/filerevision.tmpl	Wed Nov 05 09:48:56 2008 +0100
@@ -28,8 +28,7 @@
 </div>
 
 <div class="main">
-
-<h2>{repo|escape}</h2>
+<h2><a href="{url}">{repo|escape}</a></h2>
 <h3>view {file|escape} @ {rev}:{node|short}</h3>
 
 <form class="search" action="{url}log">
--- a/templates/coal/graph.tmpl	Wed Nov 05 09:42:52 2008 +0100
+++ b/templates/coal/graph.tmpl	Wed Nov 05 09:48:56 2008 +0100
@@ -26,7 +26,7 @@
 </div>
 
 <div class="main">
-<h2>{repo|escape}</h2>
+<h2><a href="{url}">{repo|escape}</a></h2>
 <h3>graph</h3>
 
 <form class="search" action="{url}log">
--- a/templates/coal/manifest.tmpl	Wed Nov 05 09:42:52 2008 +0100
+++ b/templates/coal/manifest.tmpl	Wed Nov 05 09:48:56 2008 +0100
@@ -24,8 +24,7 @@
 </div>
 
 <div class="main">
-
-<h2>{repo|escape}</h2>
+<h2><a href="{url}">{repo|escape}</a></h2>
 <h3>directory {path|escape} @ {rev}:{node|short} {tags%changelogtag}</h3>
 
 <form class="search" action="{url}log">
--- a/templates/coal/search.tmpl	Wed Nov 05 09:42:52 2008 +0100
+++ b/templates/coal/search.tmpl	Wed Nov 05 09:48:56 2008 +0100
@@ -17,8 +17,7 @@
 </div>
 
 <div class="main">
-
-<h2>{repo|escape}</h2>
+<h2><a href="{url}">{repo|escape}</a></h2>
 <h3>searching for '{query|escape}'</h3>
 
 <form class="search" action="{url}log">
--- a/templates/coal/shortlog.tmpl	Wed Nov 05 09:42:52 2008 +0100
+++ b/templates/coal/shortlog.tmpl	Wed Nov 05 09:48:56 2008 +0100
@@ -28,8 +28,7 @@
 </div>
 
 <div class="main">
-
-<h2>{repo|escape}</h2>
+<h2><a href="{url}">{repo|escape}</a></h2>
 <h3>log</h3>
 
 <form class="search" action="{url}log">
--- a/templates/coal/tags.tmpl	Wed Nov 05 09:42:52 2008 +0100
+++ b/templates/coal/tags.tmpl	Wed Nov 05 09:48:56 2008 +0100
@@ -21,7 +21,7 @@
 </div>
 
 <div class="main">
-<h2>{repo|escape}</h2>
+<h2><a href="{url}">{repo|escape}</a></h2>
 <h3>tags</h3>
 
 <form class="search" action="{url}log">
--- a/templates/static/style-coal.css	Wed Nov 05 09:42:52 2008 +0100
+++ b/templates/static/style-coal.css	Wed Nov 05 09:48:56 2008 +0100
@@ -115,6 +115,7 @@
 pre { margin: 0; }
 
 h2 { font-size: 120%; border-bottom: 1px solid #999; }
+h2 a { color: #000; }
 h3 {
   margin-top: -.7em;
   font-size: 100%;
--- a/templates/static/style-paper.css	Wed Nov 05 09:42:52 2008 +0100
+++ b/templates/static/style-paper.css	Wed Nov 05 09:48:56 2008 +0100
@@ -106,6 +106,7 @@
 pre { margin: 0; }
 
 h2 { font-size: 120%; border-bottom: 1px solid #999; }
+h2 a { color: #000; }
 h3 {
   margin-top: -.7em;
   font-size: 100%;