Added en.png

For all locales, a flag by the same name should be present.
This commit is contained in:
Thomas Blazek
2014-04-11 12:52:54 +02:00
parent c226eb8613
commit 1ffbfe6306
3 changed files with 1 additions and 2 deletions

View File

@@ -258,7 +258,6 @@ DEPENDENCIES
paper_trail (>= 2.7.0)!
paperclip (~> 3.4.0)
rails (= 3.2.13)
remotipart!
rmagick
rolify
rspec-rails

View File

@@ -25,7 +25,7 @@
</ul>
<ul class="nav navbar-nav">
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown"><%= I18n.t('sprache',:scope=>'home')%><b class="caret"></b></a>
<a href="#" class="dropdown-toggle" data-toggle="dropdown"><%= image_tag("/flaggen/png/"+I18n.locale.to_s+".png") + " " +I18n.t('sprache',:scope=>'home')%><b class="caret"></b></a>
<ul class="dropdown-menu">
<li><%= link_to image_tag("/flaggen/png/at.png") + " Deutsch" ,switch_locale_url(:de)%> </li>

BIN
public/flaggen/png/en.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 599 B