X-Git-Url: https://git.deb.at/?a=blobdiff_plain;f=templates%2Fhtml%2Fshow.tmpl;h=16ea7e40db4c01c9c32aa32f16cf2fa7671fc86e;hb=723a3070634d467e3328c41dfcd8f1da3b5f70d2;hp=09befc44fcd631fc96e227036530f119c9fdade2;hpb=9a4026fe965e926943d8c4ba74204dddc2190ea9;p=deb%2Fpackages.git diff --git a/templates/html/show.tmpl b/templates/html/show.tmpl index 09befc4..16ea7e4 100644 --- a/templates/html/show.tmpl +++ b/templates/html/show.tmpl @@ -63,19 +63,25 @@ [% END %] +[% vcs_link = page.get_newest("vcs-browser") %] [% #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' ], + [ 'hg', 'Hg', 'mercurial' ], ]; 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 %]
Debian Package Repository (Browsable):
[% vcs_link %]
Download Source Package [% src.pkg %]: @@ -93,12 +99,15 @@
Warning: This package is from the experimental distribution. That means it is likely unstable or buggy, and it may even cause data loss. -Please be sure to consult the changelog and other possible documentation before +Please be sure to consult the [% changelog_link %] and other possible documentation before using it.
[% END %] [% IF subsection == "debian-installer" %]