Sha256: fa9eeda6add1c734a7baf8c9b5c168261e5488c713ba368c1095b4075ef1c2c3

Contents?: true

Size: 767 Bytes

Versions: 5

Compression:

Stored size: 767 Bytes

Contents

%table{ class: 'records' }
  %thead
    %tr
      %th Name
      %th Last updated on
      %th
  %tbody
    - @discerner_searches.each do |search|
      %tr{:class=>"#{cycle('odd_record','even_record')} #{'error' if search.disabled?}"}
        %td
          = search.display_name
        %td
          = discerner_format_datetime(search.updated_at)
        %td
          = link_to 'Open', edit_search_path(search), class: 'discerner-show-link discerner-icon-link'
          = link_to 'Export options', export_parameters_path(search), class: 'discerner-options-link discerner-icon-link' if export_discerner_results?
          = link_to 'Delete', search_path(search), data: {confirm: 'Are you sure?'}, method: :delete, class: "discerner-icon-link discerner-delete-link"

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
discerner-2.0.10 app/views/discerner/searches/_list.html.haml
discerner-2.0.9 app/views/discerner/searches/_list.html.haml
discerner-2.0.8 app/views/discerner/searches/_list.html.haml
discerner-2.0.7 app/views/discerner/searches/_list.html.haml
discerner-2.0.6 app/views/discerner/searches/_list.html.haml