207f7e9a3d73

Add less and more links to log pages
[view raw] [browse files]
author theaspect@gmail.com
date Tue, 21 May 2013 01:37:47 +0800
parents e292b17c3e95
children 6df57370d35c
branches/tags (none)
files templates/markdown/changelog.tmpl templates/markdown/shortlog.tmpl

Changes

diff -r e292b17c3e95 -r 207f7e9a3d73 templates/markdown/changelog.tmpl
--- a/templates/markdown/changelog.tmpl	Tue May 21 01:25:26 2013 +0800
+++ b/templates/markdown/changelog.tmpl	Tue May 21 01:37:47 2013 +0800
@@ -40,7 +40,9 @@
 		</div>
 
 		<div class="page-path">
-	{changenav%nav}
+			<a href="{url}changelog/{rev}{lessvars%urlparameter}">less</a>
+			<a href="{url}changelog/{rev}{morevars%urlparameter}">more</a>
+			| {changenav%nav}
 		</div>
 	</div>
 
diff -r e292b17c3e95 -r 207f7e9a3d73 templates/markdown/shortlog.tmpl
--- a/templates/markdown/shortlog.tmpl	Tue May 21 01:25:26 2013 +0800
+++ b/templates/markdown/shortlog.tmpl	Tue May 21 01:37:47 2013 +0800
@@ -42,7 +42,9 @@
 		</table>
 
 		<div class="page-path">
-		{changenav%navshort}
+			<a href="{url}shortlog/{rev}{lessvars%urlparameter}">less</a>
+			<a href="{url}shortlog/{rev}{morevars%urlparameter}">more</a>
+			| {changenav%navshort}
 		</div>
 	</div>