Sha256: d97e515e9e7d3fbeaf9e28b975a476381378d90315763880a9a3338aa2f56f42
Contents?: true
Size: 1015 Bytes
Versions: 8
Compression:
Stored size: 1015 Bytes
Contents
- title t('.title') - content_for :submenu do = render_cell 'locomotive/settings_menu', :show - if can? :create, Locomotive::Translation - content_for :buttons do = local_action_button t('.new'), new_translation_path, icon: 'icon-plus' if can?(:create, Locomotive::Translation) - if @translations.empty? %p.no-items!= t('.no_items', url: new_translation_path) - else %ul.list - @translations.each do |translation| %li.item %strong = link_to "#{translation.key}", edit_translation_path(translation) %em= translation.values[I18n.locale.to_s] - untranslated_locales(current_site, translation) .more %span!= t('.updated_at') = l translation.updated_at, format: :short = link_to_icon :trash, translation_url(translation), title: t('.remove', key: translation.key, default: ''), class: 'remove', data: { confirm: t('locomotive.messages.confirm') }, method: :delete = paginate @translations, namespace: 'locomotive'
Version data entries
8 entries across 8 versions & 1 rubygems