Sha256: e38820d6e0669b3fa6843204cc418ae658034fc54f84625a04566b480600b292

Contents?: true

Size: 1.1 KB

Versions: 28

Compression:

Stored size: 1.1 KB

Contents

.page-header
  = link_to t('.new_link'), new_comfy_admin_cms_site_path, class: "btn btn-secondary float-right"
  %h2= t('.title')

= comfy_admin_partial "comfy/admin/cms/partials/sites_before"

%ul.list
  - @sites.each do |site|
    %li
      .row
        .col-md-8.item
          .item-content
            .item-title
              = link_to site.label, comfy_admin_cms_site_pages_path(site)
            .item-meta
              .identifier
                = site.identifier
                = "(#{site.locale})"
              .host
              = link_to site.url, site.url, target: '_blank'

        .col-md-4.d-flex.align-items-center.justify-content-md-end
          .btn-group.btn-group-sm
            = link_to t('.select'),  comfy_admin_cms_site_pages_path(site), class: 'btn btn-outline-secondary'
            = link_to t('.edit'), edit_comfy_admin_cms_site_path(site), class: 'btn btn-outline-secondary'
            = link_to t('.delete'), comfy_admin_cms_site_path(site), method: :delete, data: {confirm: t('.are_you_sure')}, class: 'btn btn-danger'

= comfy_admin_partial "comfy/admin/cms/partials/sites_after"

Version data entries

28 entries across 28 versions & 7 rubygems

Version Path
comfortable_mexican_sofa-2.0.11 app/views/comfy/admin/cms/sites/index.html.haml
comfortable_mexican_sofa-2.0.10 app/views/comfy/admin/cms/sites/index.html.haml
comfortable_mexican_sofa-2.0.9 app/views/comfy/admin/cms/sites/index.html.haml
comfortable_mexican_sofa-2.0.8 app/views/comfy/admin/cms/sites/index.html.haml
comfortable_mexican_sofa-2.0.7 app/views/comfy/admin/cms/sites/index.html.haml
comfortable_mexican_sofa-2.0.6 app/views/comfy/admin/cms/sites/index.html.haml
comfortable_mexican_sofa-2.0.5 app/views/comfy/admin/cms/sites/index.html.haml
comfortable_mexican_sofa-2.0.4 app/views/comfy/admin/cms/sites/index.html.haml