Sha256: 16a67c96f680f74546dea70d5fa5a15a8d1daf97a56e1e9cc8800fac4e7f9eeb

Contents?: true

Size: 960 Bytes

Versions: 21

Compression:

Stored size: 960 Bytes

Contents

%li{ class: "#{index == 0 ? 'well well-small active translation_key' : 'well well-small translation_key' }", 'data-key-id' => translation_key.id}
  - if translation_key.accepted_in?(to_lang)
    .translation_key_badge.badge-success{title: t('.translated')}
  - elsif translation_key.no_translations_in?(to_lang)
    .translation_key_badge.badge-important{title: t('.untranslated')}
  - else
    .translation_key_badge.badge-warning{title: t('.waiting_acceptance')}
  - if translation_admin?
    %div
      = link_to '×', translation_key_path(translation_key), method: :delete, data: { confirm: t('actions.are_you_sure', :default => 'Are you sure?') }, class: 'close', remote: true

  %a{ href: "##{translation_key.id}", 'data-toggle' => "tab"}
    %p
      %b
        %em
          = t(translation_key.name)
    
    %small
      %div{ 'data-key-id' => translation_key.id, class: "#{translation_admin? ? 'key_editable' : '' }"}
        = translation_key.name

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
translation_center-1.2.0 app/views/translation_center/translation_keys/_show_keys.html.haml
translation_center-1.1.0 app/views/translation_center/translation_keys/_show_keys.html.haml
translation_center-1.0.4 app/views/translation_center/translation_keys/_show_keys.html.haml
translation_center-1.0.3 app/views/translation_center/translation_keys/_show_keys.html.haml
translation_center-1.0.2 app/views/translation_center/translation_keys/_show_keys.html.haml
translation_center-1.0.1 app/views/translation_center/translation_keys/_show_keys.html.haml
translation_center-1.0.0 app/views/translation_center/translation_keys/_show_keys.html.haml
translation_center-0.0.14 app/views/translation_center/translation_keys/_show_keys.html.haml
translation_center-0.0.13 app/views/translation_center/translation_keys/_show_keys.html.haml
translation_center-0.0.12 app/views/translation_center/translation_keys/_show_keys.html.haml
translation_center-0.0.11 app/views/translation_center/translation_keys/_show_keys.html.haml
translation_center-0.0.10 app/views/translation_center/translation_keys/_show_keys.html.haml
translation_center-0.0.9 app/views/translation_center/translation_keys/_show_keys.html.haml
translation_center-0.0.8 app/views/translation_center/translation_keys/_show_keys.html.haml
translation_center-0.0.7 app/views/translation_center/translation_keys/_show_keys.html.haml
translation_center-0.0.6 app/views/translation_center/translation_keys/_show_keys.html.haml
translation_center-0.0.5 app/views/translation_center/translation_keys/_show_keys.html.haml
translation_center-0.0.4 app/views/translation_center/translation_keys/_show_keys.html.haml
translation_center-0.0.3 app/views/translation_center/translation_keys/_show_keys.html.haml
translation_center-0.0.2 app/views/translation_center/translation_keys/_show_keys.html.haml