Sha256: f32c6cffd9db02b9258582ee4cb1abd127d911bba2fd9c9f408c851edb134d85

Contents?: true

Size: 567 Bytes

Versions: 7

Compression:

Stored size: 567 Bytes

Contents

%tr
  %td= translation.locale
  %td= translation.key
  - if translation.value.present? && translation.value.is_a?(String)
    %td= strip_tags(truncate(translation.value, lenght: 50))
  - else
    %td= translation.value
  %td= translation.interpolations
  %td.text-center= translation.created_at.strftime("%d/%m/%Y")
  %td
    = link_to 'Edit', { action: :edit, id: translation.id }, class: 'btn btn-default'
    = link_to 'Remove', { action: :destroy, id: translation }, data: { confirm: 'Are you sure you want to remove?' }, method: :delete, class: 'btn btn-danger'

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
weeler-2.1.0 app/views/weeler/translations/_translation.html.haml
weeler-2.0.1 app/views/weeler/translations/_translation.html.haml
weeler-2.0.0 app/views/weeler/translations/_translation.html.haml
weeler-1.6.0 app/views/weeler/translations/_translation.html.haml
weeler-1.5.4 app/views/weeler/translations/_translation.html.haml
weeler-1.5.2 app/views/weeler/translations/_translation.html.haml
weeler-1.5.1 app/views/weeler/translations/_translation.html.haml