X-Git-Url: https://git.deb.at/?a=blobdiff_plain;ds=inline;f=templates%2Fhtml%2Fshow.tmpl;h=1a7ca12af399148d4952d9f4c9dbef494448812e;hb=cfb85910aaeef59209d75dc3bae9fe514f591828;hp=b0929244cc33fa09c5dd4c6e5dda82a89ab020b6;hpb=078ddbf7006d957bbef2daa9735ec9a8bf3d8fcd;p=deb%2Fpackages.git diff --git a/templates/html/show.tmpl b/templates/html/show.tmpl index b092924..1a7ca12 100644 --- a/templates/html/show.tmpl +++ b/templates/html/show.tmpl @@ -23,7 +23,6 @@ [%- END -%] [%- '' IF loop.last -%] [% END %] - [% IF src %]
[% desc.long %] +[% IF desc.short %] +
[% desc.long %] +[% END %]
Homepage: [% url | html %]
+[% END %] +[% #FIXME: should this only be used for the PTS? + known_vcs = [ [ 'cvs', 'CVS' ], + [ 'svn', 'Subversion' ], + [ 'bzr', 'bzr' ], + [ 'darcs', 'Darcs'], + [ 'arch', 'arch' ] ]; + FOREACH vcs IN known_vcs; + vcs_id = vcs.0; vcs_name = vcs.1; + vcs_info = page.get_newest("vcs-$vcs_id"); + SET vcs_info = page.get_newest("x-vcs-$vcs_id") UNLESS vcs_info; + IF vcs_info; %] +Repository for Debian package: [% vcs_info %] (VCS: [% vcs_name %])
+[% END; END %] +Search for other versions of [% pkg %]