Show revision information on browse.php
authorRobert Sesek <rsesek@bluestatic.org>
Sun, 11 Sep 2005 05:28:50 +0000 (05:28 +0000)
committerRobert Sesek <rsesek@bluestatic.org>
Sun, 11 Sep 2005 05:28:50 +0000 (05:28 +0000)
browse.php
templates/default/browse.tpl

index 0bdda1627459ac07ab72b6e5f202841e84686945..87de2e93cdc559c2e8c1ccf35eb2e1625eea3375 100644 (file)
@@ -47,7 +47,6 @@ if ($show['prev'])
 
 // ###################################################################
 
-// #*# finish extracting this tpl
 $revinfo = $viewsvn->svn->common->fetch_log($path, $viewsvn->paths->fetch_rev_num());
 
 $listing = $viewsvn->svn->ls($repos, $relpath, $viewsvn->paths->fetch_rev_num());
index 0963bb551043b6d365f9cee49617812d0433034d..8774e2318f7ae9c4e5a0fb5e160b5858974dbc96 100644 (file)
@@ -7,7 +7,15 @@ $headinclude
 
 $header
 
-<div class="head" style="border-width: 1px">
+<div class="head">Revision Information</div>
+<div class="content">
+       <div><strong>Revision:</strong> $revinfo[rev]</div>
+       <div><strong>Author:</strong> $revinfo[author]</div>
+       <div><strong>Date:</strong> $revinfo[date] $revinfo[timezone]</div>
+       <div><strong>Message:</strong> $revinfo[message]</div>
+</div>
+
+<div class="head" style="border-width: 0px 1px 1px 1px">
        $navbar
        
        <span style="font-weight: normal">