[Cdd-commits] r947 - cdd/trunk/webtools/templates

CDD Subversion Commit noreply at alioth.debian.org
Tue Jul 8 22:16:45 UTC 2008


Author: tille
Date: Tue Jul  8 22:16:44 2008
New Revision: 947

Modified:
   cdd/trunk/webtools/templates/tasks.xhtml
Log:
Do not put translation links on packages from contrib and non-free - DDTP translates only main


Modified: cdd/trunk/webtools/templates/tasks.xhtml
==============================================================================
--- cdd/trunk/webtools/templates/tasks.xhtml	(original)
+++ cdd/trunk/webtools/templates/tasks.xhtml	Tue Jul  8 22:16:44 2008
@@ -102,7 +102,7 @@
                  <span py:when="'unofficial'"><a href="${project.pkgURL}">${unofficialpkg}</a></span>
                  <span py:otherwise="">${nopkgavail}</span>
                </span><br />
-            <span py:if="lang != 'en'">
+            <span py:if="lang != 'en' and project.component == 'main'">
 	       <span py:choose="">
 	           <span py:when="project.desc.has_key(lang)"><a href="http://ddtp.debian.net/ddtss/index.cgi/${lang}/fetch?package=${project.pkg}${ampandworkaround}">${fixtranslation}</a></span>
 	           <span py:otherwise=""><a href="http://ddtp.debian.net/ddtss/index.cgi/${lang}/fetch?package=${project.pkg}">${translatedesc}</a></span>



More information about the Cdd-commits mailing list