Sha256: 01fd9873d5b7c60f89df7418072df54de716e6b6a2343d514c3ba9f9337097e3

Contents?: true

Size: 770 Bytes

Versions: 6

Compression:

Stored size: 770 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.last_executed)
        %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

6 entries across 6 versions & 1 rubygems

Version Path
discerner-2.0.16 app/views/discerner/searches/_list.html.haml
discerner-2.0.15 app/views/discerner/searches/_list.html.haml
discerner-2.0.14 app/views/discerner/searches/_list.html.haml
discerner-2.0.13 app/views/discerner/searches/_list.html.haml
discerner-2.0.12 app/views/discerner/searches/_list.html.haml
discerner-2.0.11 app/views/discerner/searches/_list.html.haml