Sha256: d8f36d3944dd2ce1062c432b720b846ead3759942604b12d62c1da6c6dde2de6

Contents?: true

Size: 803 Bytes

Versions: 1

Compression:

Stored size: 803 Bytes

Contents

.row
  .large-12.columns
    %h3
      Manager Reports Index
      - if @site
        In #{@site.domain}/#{@site.lang}

    .meta
      n reports: #{@reports.length}

    = paginate @reports, :param_name => :reports_page
    
    %ol
      - @reports.each do |report|
        %li
          = link_to '[~]', edit_manager_report_path( report )
          = link_to '[x]', manager_report_path( report ), :method => :delete, :data => { :confirm => 'Are you sure?' }
          - if report.is_public
            [public ]
          - else
            [private]
          = link_to report.name, manager_report_path( report )
          %br
          .gray
            - if report.site
              Site #{report.site.domain}/#{report.site.lang}

    = paginate @reports, :param_name => :reports_page
    

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ish_lib_manager-0.0.1 app/views/ish_lib_manager/reports/index.haml~