Sha256: 64d138bbe3a4c47eed862981fa933b8c67f9f4ecc7ae0f23e317ea3653d2d3ff

Contents?: true

Size: 646 Bytes

Versions: 4

Compression:

Stored size: 646 Bytes

Contents

- per_row = 2

.sites-index
  %h3
    Sites
    = link_to raw('<i class="fa fa-plus-square"></i>'), new_site_path
  .row
    - counter = 0
    - @site_groups.each do |domain, sites|
      - counter +=1 
      .col-xs-12{ :class => "col-sm-#{12/per_row}" }
        .panel.panel-primary
          .panel-body
            - sites.each do |site|
              %h5
                = link_to "#{site.domain}/#{site.lang}", site_path( site )
                = link_to edit_img, edit_site_path( site )
              (R#{site.reports.count}) (G#{site.galleries.count}) (V#{site.videos.count})
      - if counter % per_row == 0
        .clearfix
        

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
ish_manager-0.1.8.131 app/views/ish_manager/sites/index.haml
ish_manager-0.1.8.129 app/views/ish_manager/sites/index.haml
ish_manager-0.1.8.128 app/views/ish_manager/sites/index.haml
ish_manager-0.1.8.127 app/views/ish_manager/sites/index.haml