]> git.deb.at Git - deb/packages.git/blobdiff - templates/html/show.tmpl
templates/html/show.tmpl: Don't show PTS link for packages without source
[deb/packages.git] / templates / html / show.tmpl
index 5087d2434ff2f3ce4d9393f25d196b60f384976f..22856b0416abeba1fcbdebce7f1e8a457746507f 100644 (file)
@@ -54,7 +54,7 @@
 <ul>
 <li><a href="[% (is_source ? src_bugs_url : bugs_url) _ pkg | uri %]">Bug Reports</a></li>
 
-[% IF src -%]
+[% IF src.pkg -%]
 <li><a href="[% pts_url _ src.pkg | uri %]">Developer Information (PTS)</a></li>
 [% ELSIF is_source %]
 <li><a href="[% pts_url _ pkg | uri %]">Developer Information (PTS)</a></li>