Sha256: c69b288a0736288f3b35135f73668d2bd5eeaa48f138cad826927ff73630b064

Contents?: true

Size: 547 Bytes

Versions: 14

Compression:

Stored size: 547 Bytes

Contents

#theme-images.asset-picker
  %h2!= t('.title')

  .actions
    = admin_button_tag t('admin.theme_assets.index.new'), admin_theme_assets_url(:json), :class => 'button small add', :id => 'upload-link'

  - if @images.empty?
    %p.no-items!= t('.no_items')

  %ul.list.theme-assets
    = render 'asset', :asset => current_site.theme_assets.build(:updated_at => Time.now, :local_path => 'images/new.jpg', :content_type => 'image'), :edit => false

    = render :partial => 'asset', :collection => @images, :locals => { :edit => false }

    %li.clear

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
locomotive_cms-1.0.0.beta.2 app/views/admin/theme_assets/images.html.haml
locomotive_cms-1.0.0.beta app/views/admin/theme_assets/images.html.haml
locomotive_cms-0.0.4.beta12 app/views/admin/theme_assets/images.html.haml
locomotive_cms-0.0.4.beta11 app/views/admin/theme_assets/images.html.haml
locomotive_cms-0.0.4.beta10 app/views/admin/theme_assets/images.html.haml
locomotive_cms-0.0.4.beta9 app/views/admin/theme_assets/images.html.haml
locomotive_cms-0.0.4.beta8 app/views/admin/theme_assets/images.html.haml
locomotive_cms-0.0.4.beta7 app/views/admin/theme_assets/images.html.haml
locomotive_cms-0.0.4.beta5 app/views/admin/theme_assets/images.html.haml
locomotive_cms-0.0.4.beta4 app/views/admin/theme_assets/images.html.haml
locomotive_cms-0.0.4.beta3 app/views/admin/theme_assets/images.html.haml
locomotive_cms-0.0.4.beta2 app/views/admin/theme_assets/images.html.haml
locomotive_cms-0.0.4.beta1 app/views/admin/theme_assets/images.html.haml
locomotive_cms-0.0.4 app/views/admin/theme_assets/images.html.haml