unicorn commit: remove text at the top of translation pages if translation contribs are disabled

changeset:   1743:f5547924f714
tag:         tip
user:        Jean-Guilhem Rouel <jean-gui@w3.org>
date:        Fri Mar 27 11:53:51 2015 +0100
files:       WebContent/WEB-INF/resources/templates/language.vm
description:
remove text at the top of translation pages if translation contribs are disabled


diff -r c482f6a9a7be -r f5547924f714 WebContent/WEB-INF/resources/templates/language.vm
--- a/WebContent/WEB-INF/resources/templates/language.vm	Fri Mar 27 11:51:42 2015 +0100
+++ b/WebContent/WEB-INF/resources/templates/language.vm	Fri Mar 27 11:53:51 2015 +0100
@@ -12,7 +12,7 @@
 	<h2>Translation of Unicorn</h2>
 	#set($langNb = $uiLocales.size())
 	<p>Unicorn is currently available in $langNb languages. Many thanks to all the <a href="http://code.w3.org/unicorn/wiki/Translators">volunteer translators</a> who have helped make Unicorn available in different languages.</p>
-
+#if ($enable_translation_contribs)
 	<h3>Translate Unicorn in a new language</h3>
 	
 	<p>If Unicorn is not yet available in your native language and you would like to translate it:</p>
@@ -52,6 +52,7 @@
 	</ul>
 	<p>You can help fill the blanks and complete the translation in <strong>your</strong> language!</p>
 </div>
+#end
 
 <div id="translations">
 	<table>

Received on Friday, 27 March 2015 10:54:02 UTC