Sha256: f795b391888c210754dec9da9e807ac285b0d683a12dfad4934f5fb282dc9fb0

Contents?: true

Size: 789 Bytes

Versions: 1

Compression:

Stored size: 789 Bytes

Contents

.row
  .large-12.columns
    %h3
      Reports
      - 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