[vhffs-dev] [svn] commit: r213 - in /trunk: vhffs-api/src/Vhffs/Panel/Svn.pm vhffs-panel/templates/svn/menu_sub.tmpl

[ Thread Index | Date Index | More vhffs.org/vhffs-dev Archives ]


Author: soda
Date: Fri Aug 11 16:08:38 2006
New Revision: 213

Log:
Show now a link to svnweb (see. bug #177)


Modified:
    trunk/vhffs-api/src/Vhffs/Panel/Svn.pm
    trunk/vhffs-panel/templates/svn/menu_sub.tmpl

Modified: trunk/vhffs-api/src/Vhffs/Panel/Svn.pm
==============================================================================
--- trunk/vhffs-api/src/Vhffs/Panel/Svn.pm (original)
+++ trunk/vhffs-api/src/Vhffs/Panel/Svn.pm Fri Aug 11 16:08:38 2006
@@ -131,6 +131,9 @@
 			$subtemplate = new HTML::Template( filename => "$templatesdir/svn/menu_sub.tmpl" );
 			$subtemplate->param( NAME => $repo->get_reponame );
 			$subtemplate->param( HISTORY => gettext("History"));
+			$subtemplate->param( GROUPNAME => $repo->get_group->get_groupname );
+			$subtemplate->param( SVNWEB_TEXT => gettext( "SVNweb") );
+			$subtemplate->param( SVNWEBURL => $vhffs->get_config->get_svnweburl );
 			$subtemplate->param( OID => $repo->get_oid );
 			$output .= $subtemplate->output;
 		}

Modified: trunk/vhffs-panel/templates/svn/menu_sub.tmpl
==============================================================================
--- trunk/vhffs-panel/templates/svn/menu_sub.tmpl (original)
+++ trunk/vhffs-panel/templates/svn/menu_sub.tmpl Fri Aug 11 16:08:38 2006
@@ -2,5 +2,6 @@
  						<a href="/svn/prefs.pl?name=<tmpl_var name="NAME">" title="<tmpl_var name="NAME">">
 							<tmpl_var name="NAME">
 							( <a href="/history.pl?OID=<tmpl_var name="OID">"><tmpl_var name="HISTORY"></a> )
+							( <a href="<tmpl_var name="SVNWEBURL">/listing.php?repname=<tmpl_var name="NAME">+%28<tmpl_var name="GROUPNAME">%29&path=%2F"><tmpl_var name="SVNWEB_TEXT"></a> )
 						</a>
 					</li>




Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/