Sha256: 999b0945b07340237f796fc232ab74daba2e50e92823cf9618270058c89cc54f

Contents?: true

Size: 1014 Bytes

Versions: 1

Compression:

Stored size: 1014 Bytes

Contents

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

= render 'cms_admin/partials/sites_before'

%table.table.table-hover.table-bordered
  - @sites.each do |site|
    %tr
      %td
        .icon
      %td.main
        .item-title
          = link_to site.label, cms_admin_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'),  cms_admin_site_pages_path(site), :class => 'btn btn-small'
          = link_to t('.edit'), edit_cms_admin_site_path(site), :class => 'btn btn-small'
          = link_to t('.delete'), cms_admin_site_path(site), :method => :delete, :data => {:confirm => t('.are_you_sure')}, :class => 'btn btn-small btn-danger'
          
= render 'cms_admin/partials/sites_after'

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
comfortable_mexican_sofa-1.9.3 app/views/cms_admin/sites/index.html.haml