Sha256: 1770c07008f82ccf4496b819530310d6080601de8add73921a59107db2b40856

Contents?: true

Size: 1.21 KB

Versions: 20

Compression:

Stored size: 1.21 KB

Contents

- content_for(:header_title) { "Translations" }

= bb_panel "Filter" do
  = simple_search_form_for @ransack do |f|
    = f.input :translation_key_key_cont, label: "Key", autofocus: true
    = f.input :handler_name_cont
    = f.input :group_name_cont
    = f.button :submit, "Filter", class: ["btn", "btn-primary"]

= bb_panel "Translations", table: true do
  %thead
    %tr
      %th Key
      %th.hidden-sm-down Handler
      %th.hidden-xs-down Group
      %th.hidden-md-down Finished?
      %th.hidden-sm-down= bm_sort_link @ransack, :created_at
  %tbody
    - @handler_translations.each do |handler_translation|
      %tr
        %td= link_to handler_translation.key, [handler_translation.handler, handler_translation.group]
        %td.hidden-sm-down= link_to handler_translation.handler.name, handler_translation.handler
        %td.hidden-xs-down= link_to handler_translation.group.name, [handler_translation.handler, handler_translation.group]
        %td.hidden-md-down= handler_translation.finished? ? "Yes" : "No"
        %td.hidden-sm-down= l(handler_translation.created_at, format: :short)
    - if @handler_translations.empty?
      %tr
        %td{colspan: 5} No translations

= bm_paginate_content @handler_translations

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
awesome_translations-0.0.49 app/views/awesome_translations/handler_translations/index.html.haml
awesome_translations-0.0.48 app/views/awesome_translations/handler_translations/index.html.haml
awesome_translations-0.0.47 app/views/awesome_translations/handler_translations/index.html.haml
awesome_translations-0.0.46 app/views/awesome_translations/handler_translations/index.html.haml
awesome_translations-0.0.45 app/views/awesome_translations/handler_translations/index.html.haml
awesome_translations-0.0.44 app/views/awesome_translations/handler_translations/index.html.haml
awesome_translations-0.0.43 app/views/awesome_translations/handler_translations/index.html.haml
awesome_translations-0.0.42 app/views/awesome_translations/handler_translations/index.html.haml
awesome_translations-0.0.41 app/views/awesome_translations/handler_translations/index.html.haml
awesome_translations-0.0.40 app/views/awesome_translations/handler_translations/index.html.haml
awesome_translations-0.0.39 app/views/awesome_translations/handler_translations/index.html.haml
awesome_translations-0.0.38 app/views/awesome_translations/handler_translations/index.html.haml
awesome_translations-0.0.37 app/views/awesome_translations/handler_translations/index.html.haml
awesome_translations-0.0.36 app/views/awesome_translations/handler_translations/index.html.haml
awesome_translations-0.0.35 app/views/awesome_translations/handler_translations/index.html.haml
awesome_translations-0.0.34 app/views/awesome_translations/handler_translations/index.html.haml
awesome_translations-0.0.33 app/views/awesome_translations/handler_translations/index.html.haml
awesome_translations-0.0.32 app/views/awesome_translations/handler_translations/index.html.haml
awesome_translations-0.0.31 app/views/awesome_translations/handler_translations/index.html.haml
awesome_translations-0.0.30 app/views/awesome_translations/handler_translations/index.html.haml