Fix header to display checkout instructions
authorJeremy Olexa <darkside@gentoo.org>
Sat, 8 May 2010 21:29:43 +0000 (16:29 -0500)
committerJeremy Olexa <jolexa@jolexa.net>
Sat, 8 May 2010 21:29:43 +0000 (16:29 -0500)
include/dir_header.ezt

index 01870bf..b9f1d8d 100644 (file)
@@ -1,13 +1,47 @@
 [# setup page definitions]
   [define page_title]Index of /[where][end]
   [define help_href][docroot]/help_[if-any where]dir[else]root[end]view.html[end]
+  [define p][if-any where]/[where][else][end][end]
 [# end]
 
 [include "header.ezt" "directory"]
 
-[if-any where][else]
+
   <!-- you may insert repository access instructions here -->
+<p>
+<span class="vc_navheader">Anonymous Access:
+<b>
+[is roottype "svn"]
+svn co svn://anonsvn.gentoo.org/[rootname]
+[else]
+cvs -d :pserver:anonymous@anoncvs.gentoo.org:/var/cvsroot co [rootname][p]
+[end]
+</b>
+</span>
+</p>
+<p>
+<span class="vc_navheader">Developer Access:
+<b>
+[is roottype "svn"]
+svn co svn+ssh://<i>${USER}</i>@svn.gentoo.org/var/svnroot/[rootname][p]
+[else]
+cvs -d :ext:<i>${USER}</i>@cvs.gentoo.org:/var/cvsroot co [rootname][p]
 [end]
+</b>
+</span>
+</p>
+<p>
+<span class="vc_navheader">More Information:
+<b>
+[is roottype "svn"]
+http://anonsvn.gentoo.org/
+[else]
+http://anoncvs.gentoo.org/
+[end]
+</b>
+</span>
+</p>
+
 
 <table class="auto">
 <tr><td>Files shown:</td><td><strong>[files_shown]</strong>