Sha256: de7046cb545e1b2ec0a8b2736691ea092f804fd445e28185da6722767fda3a0f

Contents?: true

Size: 1005 Bytes

Versions: 5

Compression:

Stored size: 1005 Bytes

Contents

-# ish_manager / reports / index

- if @site
  = render 'ish_manager/sites/header', :site => @site
  
.row
  .large-12.columns
    %h3
      Reports (#{@reports.length})
      = link_to image_new, new_report_path
      
    = paginate @reports, :param_name => :reports_page, :views_prefix => 'ish_manager'
    
    - @reports.each do |report|
      .card
        .card-content
          = link_to '[~]', edit_report_path( report )
          .float-left= button_to '[x]', report_path( report ), :method => :delete, :data => { :confirm => 'Are you sure?' }
          - if report.is_public
            %i.material-icons visibility
          - else
            %i.material-icons visibility off
          = link_to report.name, report_path( report )
          %br
          .gray
            - if report.site
              Site #{report.site.domain}/#{report.site.lang}
            %br
            = report.created_at
    = paginate @reports, :param_name => :reports_page, :views_prefix => 'ish_manager'
    

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
ish_manager-0.1.8.146 app/views/ish_manager/reports/index.haml
ish_manager-0.1.8.145 app/views/ish_manager/reports/index.haml
ish_manager-0.1.8.144 app/views/ish_manager/reports/index.haml
ish_manager-0.1.8.143 app/views/ish_manager/reports/index.haml
ish_manager-0.1.8.142 app/views/ish_manager/reports/index.haml