summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Olexa <darkside@gentoo.org>2010-05-08 16:29:43 -0500
committerJeremy Olexa <jolexa@jolexa.net>2010-05-08 16:29:43 -0500
commit450f8ffbb2de0e5c4ab5014b5ebe56926b13ffc4 (patch)
tree6c1c86996731b1e5c4688ced745011d456a3827d
parentGentoo Bug 224241: Add link to sources.g.o/gitweb (diff)
downloadgentoo-viewvc-templates-450f8ffbb2de0e5c4ab5014b5ebe56926b13ffc4.tar.gz
gentoo-viewvc-templates-450f8ffbb2de0e5c4ab5014b5ebe56926b13ffc4.tar.bz2
gentoo-viewvc-templates-450f8ffbb2de0e5c4ab5014b5ebe56926b13ffc4.zip
Fix header to display checkout instructions
-rw-r--r--include/dir_header.ezt36
1 files changed, 35 insertions, 1 deletions
diff --git a/include/dir_header.ezt b/include/dir_header.ezt
index 01870bf..b9f1d8d 100644
--- a/include/dir_header.ezt
+++ b/include/dir_header.ezt
@@ -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>