fixed shortlog entrycount & show refname / base commit on shortlog page
[phpgitweb.git] / htdocs / templates / default / shortlog.tpl
index 424e9bf8259f1aaf12ae06a58000194d14be4763..4ac1724bc1862aba0cb0f5d108cf60441d05594a 100644 (file)
@@ -1,6 +1,6 @@
 # [main]
 <div class="header">
-       <a class="title" href="?p=%project%&a=summary">%project%</a>
+       <a class="title" href="?p=%project%&a=summary">%project% %refname%</a>
 </div>
 %shortlog%
 
@@ -30,7 +30,7 @@
 </tr>
 
 # [shortlog_page]
-<td colspan="4"><a title="Alt-n" accesskey="n" href="?p=%project%&a=shortlog&pg=%page%">next</a></td>
+<td colspan="4"><a title="Alt-n" accesskey="n" href="?p=%project%&a=shortlog&h=%commit_base_id%&pg=%page%">next</a></td>
 
 # [shortlog_refs]
 <span class="refs"> %refs%</span>
 %first% &sdot; %prev% &sdot; %next%
 
 # [shortlog_subnav_first_link]
-<a href="?p=%project%&a=shortlog">first</a>
+<a href="?p=%project%&a=shortlog&h=%commit_base_id%">first</a>
 
 # [shortlog_subnav_first]
 first
 
 # [shortlog_subnav_prev_link]
-<a title="Alt-p" accesskey="p" href="?p=%project%&a=shortlog&pg=%page%">prev</a>
+<a title="Alt-p" accesskey="p" href="?p=%project%&a=shortlog&h=%commit_base_id%&pg=%page%">prev</a>
 
 # [shortlog_subnav_prev]
 prev
 
 # [shortlog_subnav_next_link]
-<a title="Alt-n" accesskey="n" href="?p=%project%&a=shortlog&pg=%page%">next</a>
+<a title="Alt-n" accesskey="n" href="?p=%project%&a=shortlog&h=%commit_base_id%&pg=%page%">next</a>
 
 # [shortlog_subnav_next]
 next