Skip to content

Commit

Permalink
Merge pull request #49 from sekretarot/remove_localeapp_flags
Browse files Browse the repository at this point in the history
#18 Remove failing Localeapp flags images from forms
  • Loading branch information
damianlegawiec authored Dec 20, 2018
2 parents 3bc3a6f + 64e9b36 commit 86ef8a0
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions app/views/spree/admin/translations/_form_fields.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,6 @@

<div class="pull-right text-muted">
<small><i><%= Spree.t(:'i18n.this_file_language') %></i></small>

<% if locale.to_s.include?('-') %>
<img src="https://www.localeapp.com/assets/flags/regions/<%= locale.to_s.split('-').last %>.png">
<% else %>
<img src="https://www.localeapp.com/assets/flags/languages/<%= locale %>.png">
<% end %>
</div>
<% end %>
</div>
Expand Down

0 comments on commit 86ef8a0

Please sign in to comment.