diff options
author | Philip Arndt <git@arndt.io> | 2014-12-04 14:06:02 -0800 |
---|---|---|
committer | Philip Arndt <git@arndt.io> | 2014-12-04 14:06:02 -0800 |
commit | c5d248b280ca975579d3a09ae8b7253afa2b0752 (patch) | |
tree | e696de404d22f38f03a767c6376d7198e433fbca /app | |
parent | 6c21f7a29bcb7824ba634b766643c8ff7db876cd (diff) | |
download | refinerycms-blog-c5d248b280ca975579d3a09ae8b7253afa2b0752.tar.gz refinerycms-blog-c5d248b280ca975579d3a09ae8b7253afa2b0752.tar.bz2 refinerycms-blog-c5d248b280ca975579d3a09ae8b7253afa2b0752.zip |
Switched flags to the new SVG locale icons
Diffstat (limited to 'app')
-rw-r--r-- | app/views/refinery/blog/admin/categories/_category.html.erb | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/app/views/refinery/blog/admin/categories/_category.html.erb b/app/views/refinery/blog/admin/categories/_category.html.erb index c1cfa15..3f813f5 100644 --- a/app/views/refinery/blog/admin/categories/_category.html.erb +++ b/app/views/refinery/blog/admin/categories/_category.html.erb @@ -4,10 +4,14 @@ <span class="preview"> <% category.translations.each do |translation| %> <% if translation.title.present? %> - <%= link_to refinery_icon_tag("flags/#{translation.locale}.png", :size => '16x11'), - refinery.edit_blog_admin_category_path(category, :switch_locale => translation.locale), - :class => 'locale' %> + <%= link_to refinery.edit_blog_admin_category_path(category, :switch_locale => translation.locale), + :class => 'locale' do %> + <div class="locale_icon <%= translation.locale %>"> + <%= refinery_icon_tag('locale-blue.svg', :size => '24x24') %> + <span class="code"><%= translation.locale.upcase %></span> + </div> <% end %> + <% end %> <% end %> </span> </span> |