Improve the look of the language selection flags
This commit is contained in:
parent
96336cfbfd
commit
c59076a19a
1 changed files with 6 additions and 8 deletions
|
@ -9,14 +9,12 @@
|
|||
<#-- This is included by identity.ftl -->
|
||||
<#if selectLocale??>
|
||||
<li>
|
||||
<form method="get" action="${selectLocale.selectLocaleUrl}" >
|
||||
<#list selectLocale.locales as locale>
|
||||
<button type="submit" name="selection" value="${locale.code}">
|
||||
<a href="${selectLocale.selectLocaleUrl}?selection=${locale.code}">
|
||||
<img src="${locale.imageUrl}" height="15" align="middle" alt="${locale.label}"/>
|
||||
</button>
|
||||
</a>
|
||||
<#if locale_has_next>|</#if>
|
||||
</#list>
|
||||
</form>
|
||||
</li>
|
||||
</#if>
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue