Commit c5d3c8b367acbbc68cdfc157df262e206c43bf8f

Authored by felipebormann
1 parent b78f9c8d

solved issue on language selector on responsive view

amadeus/static/css/base/amadeus_responsive.css
@@ -50,6 +50,10 @@ @@ -50,6 +50,10 @@
50 display: block !important; 50 display: block !important;
51 } 51 }
52 52
  53 + .language-selector-on-header .no-title{
  54 + display:none;
  55 + }
  56 +
53 .language-selector-on-header img{ 57 .language-selector-on-header img{
54 display: none; 58 display: none;
55 } 59 }
amadeus/templates/base.html
@@ -97,7 +97,15 @@ @@ -97,7 +97,15 @@
97 97
98 <li class="dropdown language-selector-on-header {{ settings_menu_active }}" title data-original-title="{% trans 'Language Selector' %}"> 98 <li class="dropdown language-selector-on-header {{ settings_menu_active }}" title data-original-title="{% trans 'Language Selector' %}">
99 {% get_current_language as LANGUAGE_CODE %} 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 {% with 'img/'|add:LANGUAGE_CODE|add:'.png' as image_static %} 110 {% with 'img/'|add:LANGUAGE_CODE|add:'.png' as image_static %}
103 <img src="{% static image_static %}" /> 111 <img src="{% static image_static %}" />