Commit c5d3c8b367acbbc68cdfc157df262e206c43bf8f
1 parent
b78f9c8d
Exists in
master
and in
3 other branches
solved issue on language selector on responsive view
Showing
2 changed files
with
13 additions
and
1 deletions
Show diff stats
amadeus/static/css/base/amadeus_responsive.css
amadeus/templates/base.html
... | ... | @@ -97,7 +97,15 @@ |
97 | 97 | |
98 | 98 | <li class="dropdown language-selector-on-header {{ settings_menu_active }}" title data-original-title="{% trans 'Language Selector' %}"> |
99 | 99 | {% get_current_language as LANGUAGE_CODE %} |
100 | - <a href="#" class="dropdown-toggle" data-toggle="dropdown" data-close-others="true"> | |
100 | + | |
101 | + <a href="#" class="dropdown-toggle title" data-toggle="dropdown" data-close-others="true"> | |
102 | + <i class="fa fa-cog hidden-xs" aria-hidden="true"></i> | |
103 | + <span class="visible-xs-inline">{% trans 'Language Selector' %}</span> | |
104 | + {% with 'img/'|add:LANGUAGE_CODE|add:'.png' as image_static %} | |
105 | + <img src="{% static image_static %}" /> | |
106 | + {% endwith %} | |
107 | + </a> | |
108 | + <a href="#" class="dropdown-toggle no-title" data-toggle="dropdown" data-close-others="true"> | |
101 | 109 | |
102 | 110 | {% with 'img/'|add:LANGUAGE_CODE|add:'.png' as image_static %} |
103 | 111 | <img src="{% static image_static %}" /> | ... | ... |