Sha256: 220a89bf7a58e028bccc985d95bcbce1843dcd5c4b96f31d09e1b7f86e19fdf6

Contents?: true

Size: 1014 Bytes

Versions: 7

Compression:

Stored size: 1014 Bytes

Contents

.page-header
  = link_to t('.new_link'), new_admin_cms_site_path, :class => 'btn pull-right'
  %h2= t('.title')

= render 'admin/cms/partials/sites_before'

%table.table.table-hover.table-bordered
  - @sites.each do |site|
    %tr
      %td
        .icon
      %td.main
        .item-title
          = link_to site.label, admin_cms_site_pages_path(site)
        .item-meta
          .identifier
            = site.identifier
            = "(#{site.locale})"
          .host
            - host = "http://#{site.hostname}/#{site.path}"
            = link_to host, host, :target => '_blank'
      %td
        .btn-group
          = link_to t('.select'),  admin_cms_site_pages_path(site), :class => 'btn btn-small'
          = link_to t('.edit'), edit_admin_cms_site_path(site), :class => 'btn btn-small'
          = link_to t('.delete'), admin_cms_site_path(site), :method => :delete, :data => {:confirm => t('.are_you_sure')}, :class => 'btn btn-small btn-danger'
          
= render 'admin/cms/partials/sites_after'

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
comfortable_mexican_sofa-1.11.2 app/views/admin/cms/sites/index.html.haml
comfortable_mexican_sofa-1.11.1 app/views/admin/cms/sites/index.html.haml
comfortable_mexican_sofa-1.11.0 app/views/admin/cms/sites/index.html.haml
comfortable_mexican_sofa-1.10.3 app/views/admin/cms/sites/index.html.haml
comfortable_mexican_sofa-1.10.2 app/views/admin/cms/sites/index.html.haml
comfortable_mexican_sofa-1.10.1 app/views/admin/cms/sites/index.html.haml
comfortable_mexican_sofa-1.10.0 app/views/admin/cms/sites/index.html.haml