Sha256: a78c2fa06b98045fcd7704c5f983981f16340d114b3cd48db403cb24a32e9f2e
Contents?: true
Size: 1.01 KB
Versions: 7
Compression:
Stored size: 1.01 KB
Contents
- @stylesheets << 'admin/globalize2' #globalize %input{:type => "hidden", :name => "locale", :value => I18n.locale.to_s } .edit %span - Globalize2Extension.locales.map do |locale| = link_to_unless(Globalize2Extension.content_locale == locale, "<img src='/images/admin/#{locale.downcase}.gif' alt='#{locale.upcase}' />", params.merge(:content_locale => locale)) - if !@page.nil? && Globalize2Extension.content_locale == locale - if Globalize2Extension.content_locale != Globalize2Extension.default_language - if @page.translated_locales.include?(locale.to_sym) %span.translated %label{:for => "reset_translations"} %input{:type => "checkbox", :value => "true", :name => "page[reset_translations]", :id => "reset_translations"} Delete =Globalize2Extension.content_locale.to_s.upcase translation - else %span.not-translated (not translated) - else %span (default)
Version data entries
7 entries across 7 versions & 1 rubygems