Sha256: 6755e93d72cf52e6136df65e2d50c8e9e27aea997e26dd631cafcf7f40f68835
Contents?: true
Size: 1.07 KB
Versions: 1
Compression:
Stored size: 1.07 KB
Contents
.page-header = link_to t('.new_link'), new_cms_admin_site_path, :class => 'btn pull-right' %h2= t('.title') %table.table.table-hover.table-bordered - @sites.each do |site| %tr %td - if site.logo.try(:is_image?) - icon_style = "background: url('#{site.logo.file.url(:cms_thumb)}') no-repeat center" .icon{:style => (icon_style if icon_style)} %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'
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
comfypress-0.1.4 | app/views/cms_admin/sites/index.html.haml |