Skip to content

Commit

Permalink
Fix for EZP-24015: Improve Language Switcher flags and logic
Browse files Browse the repository at this point in the history
  • Loading branch information
pedroresende committed Mar 20, 2015
1 parent be7b82d commit 0ecbcf9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Resources/views/parts/languages_switcher.html.twig
Expand Up @@ -11,7 +11,7 @@

{% for lang in availableLanguages %}
{% do routeRef.set( "siteaccess", ezpublish.translationSiteAccess( lang ) ) %}
{% if lang == currentLang %}
{% if lang == currentLanguage %}
<li class="current">
<span class="flag-icon flag-icon-background flag-icon-{{ lang[4:]|lower }}"></span>{{ lang[:3]|lower|capitalize }}
</li>
Expand Down

0 comments on commit 0ecbcf9

Please sign in to comment.