You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openoffice.apache.org by ta...@apache.org on 2014/05/14 09:56:25 UTC
svn commit: r1594511 - /openoffice/ooo-site/trunk/templates/brand.html
Author: tal
Date: Wed May 14 07:56:25 2014
New Revision: 1594511
URL: http://svn.apache.org/r1594511
Log:
improved language select to templates/brand.html (added template vars support)
Modified:
openoffice/ooo-site/trunk/templates/brand.html
Modified: openoffice/ooo-site/trunk/templates/brand.html
URL: http://svn.apache.org/viewvc/openoffice/ooo-site/trunk/templates/brand.html?rev=1594511&r1=1594510&r2=1594511&view=diff
==============================================================================
--- openoffice/ooo-site/trunk/templates/brand.html (original)
+++ openoffice/ooo-site/trunk/templates/brand.html Wed May 14 07:56:25 2014
@@ -1,6 +1,6 @@
<div id="{{ headers.divid }}">
<div id="languagesdiv" style="float: right; padding: 1em; font-size: 0.9em;">
- {% block language %}{% if headers.language%}{{ headers.language}}:{%else%}Language:{% endif %}{% endblock %}
+ {% block language %}{% if headers.language%}{{ headers.language}}{%else%}Language{% endif %}:{% endblock %}
<select id="selectlanguage" onchange="javascript:location.href=location.protocol+'//'+location.host+'/'+this.value;">
<option value="">English</option>
<option value="de">Catalan</option>