mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-16 14:33:14 +00:00
Merge pull request #2414 from xrousset78800/PHRAS-1720/Add-language-selection-on-prod-settings
Port PHRAS-1673 - language selection - to master PHRAS-1720
This commit is contained in:
@@ -584,6 +584,16 @@
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
<div class="box">
|
||||
<h1>{{ 'Language' | trans }} : {{ app['locale'] }}</h1>
|
||||
<label class="inline" for="language">
|
||||
<select onchange="window.location = $(this).val();" id="language">
|
||||
{% for code, language in app.getAvailableLanguages() if code != app['locale'] %}
|
||||
<option value="{{ path('set_locale', {'locale' : code, 'redirect' : '/prod' }) }}"><a href="{{ path('set_locale', {'locale' : code, 'redirect' : '/prod' }) }}" data-country-code="{{ code }}">{{ language }}</a></option>
|
||||
{% endfor %}
|
||||
</select>
|
||||
</label>
|
||||
</div>
|
||||
<div class="box">
|
||||
<div class="" style="float:left; width:49%;">
|
||||
<h1>{{ 'Mode de presentation' | trans }}</h1>
|
||||
|
Reference in New Issue
Block a user