X-Git-Url: https://git.deb.at/?a=blobdiff_plain;f=templates%2Fhtml%2Fshow.tmpl;h=fb6f9ac7e6eede7201c5a1f497aab8dc27841588;hb=154190ac83a7c63cc450c6e139ff5ee3247b13b1;hp=43e9b60a2a3b746372423fa9ba6db69571ae9257;hpb=36926bc25c4342c4be4fc9babf45edc5f6862f49;p=deb%2Fpackages.git diff --git a/templates/html/show.tmpl b/templates/html/show.tmpl index 43e9b60..fb6f9ac 100644 --- a/templates/html/show.tmpl +++ b/templates/html/show.tmpl @@ -64,17 +64,19 @@ [% #FIXME: should this only be used for the PTS? - known_vcs = [ [ 'cvs', 'CVS' ], - [ 'svn', 'Subversion' ], - [ 'bzr', 'bzr' ], - [ 'darcs', 'Darcs'], - [ 'arch', 'arch' ] ]; + known_vcs = [ [ 'cvs', 'CVS', 'cvs' ], + [ 'svn', 'Subversion', 'subversion' ], + [ 'bzr', 'bzr', 'bzr' ], + [ 'darcs', 'Darcs', 'darcs' ], + [ 'arch', 'arch', 'tla' ], + [ 'git', 'Git', 'git-core' ], ]; FOREACH vcs IN known_vcs; - vcs_id = vcs.0; vcs_name = vcs.1; + vcs_id = vcs.0; vcs_name = vcs.1; vcs_pkg = vcs.2; vcs_info = page.get_newest("vcs-$vcs_id"); SET vcs_info = page.get_newest("x-vcs-$vcs_id") UNLESS vcs_info; IF vcs_info; %] -
Debian Package Repository (VCS: [% vcs_name %]):
[% vcs_info %]
Debian Package Repository (VCS:
+[% vcs_name %]):
[% vcs_info %]