Commit 6e207b34 authored by Rafael Monnerat's avatar Rafael Monnerat

slapos_web: Fix language flags display

parent 2a2c34a7
<?xml version="1.0"?>
<ZopeData>
<record id="1" aka="AAAAAAAAAAE=">
<pickle>
<global name="Image" module="OFS.Image"/>
</pickle>
<pickle>
<dictionary>
<item>
<key> <string>_EtagSupport__etag</string> </key>
<value> <string>ts61816078.91</string> </value>
</item>
<item>
<key> <string>__name__</string> </key>
<value> <string>icon_lang_fr.png</string> </value>
</item>
<item>
<key> <string>content_type</string> </key>
<value> <string>image/png</string> </value>
</item>
<item>
<key> <string>height</string> </key>
<value> <int>11</int> </value>
</item>
<item>
<key> <string>precondition</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>size</string> </key>
<value> <int>545</int> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>icon_lang_fr.png</string> </value>
</item>
<item>
<key> <string>width</string> </key>
<value> <int>16</int> </value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
...@@ -15,8 +15,10 @@ ...@@ -15,8 +15,10 @@
<tal:block tal:repeat="language language_list"> <tal:block tal:repeat="language language_list">
<a tal:define="language_id language/id;" <a tal:define="language_id language/id;"
tal:condition="python:language_id in available_language_list" tal:condition="python:language_id in available_language_list"
tal:attributes="href python: current_web_site_url + '/Base_doLanguage?select_language=%s' % language_id" tal:attributes="href python: current_web_site_url + '/Base_doLanguage?select_language=%s' % language_id">
tal:content="language/title">English</a> <img tal:attributes="src python: current_web_site_url + '/vifib_hosting_image/icon_lang_%s.png' % language_id;
alt language/title">
</a>
</tal:block> </tal:block>
</div> </div>
<a tal:attributes="href current_web_site_url"><div id="vifib_logo"></div></a> <a tal:attributes="href current_web_site_url"><div id="vifib_logo"></div></a>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment