Sha256: e227dfbbf4e29cd695e5857bd664b2bca6d61c07a930fdc1f1dd535afdbd18d2

Contents?: true

Size: 697 Bytes

Versions: 4

Compression:

Stored size: 697 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
          = format_datetime(search.updated_at)
        %td
          = link_to 'Open', edit_search_path(search), class: 'show_link icon_link'
          = link_to 'Export options', export_parameters_path(search), class: 'options_link icon_link' if export_discerner_results?
          = link_to 'Delete', search_path(search), data: {confirm: 'Are you sure?'}, method: :delete, class: "icon_link delete_link"

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
discerner-2.0.4 app/views/discerner/searches/_list.html.haml
discerner-2.0.3 app/views/discerner/searches/_list.html.haml
discerner-2.0.2 app/views/discerner/searches/_list.html.haml
discerner-2.0.1 app/views/discerner/searches/_list.html.haml