Sha256: 999a796b89959699c9468e7ce48ca3d278877de0417309e3f2f11ed61cad26e1

Contents?: true

Size: 1.03 KB

Versions: 6

Compression:

Stored size: 1.03 KB

Contents

%script{ :type => 'text/html', :id => 'content_asset_picker' }

  %h2!= t('.title')

  %p.no-items{ :style => 'display: none' }!= t('.no_items')

  %ul.list.content-assets{ :style => 'display: none' }
    %li.clear

  .dialog-actions
    = link_to t('locomotive.buttons.close'), '#', :id => 'close-link'

    .button-wrapper.upload
      = form_tag theme_assets_url(:json), :class => 'quick-upload' do
        = file_field_tag 'theme_asset[source]', :multiple => 'multiple'
        = link_to t('locomotive.theme_assets.image_picker.upload'), theme_assets_url(:json), :class => 'new', :id => 'upload-link'

%script{ :type => 'text/html', :id => 'content_asset' }

  %h4
    = link_to '{{filename}}', '{{url}}', :alt => '{{full_filename}}', :title => '{{full_filename}}'
  {{#if image}}
  .image
    .inside
      %img{ :src => '{{vignette_url}}' }
  {{else}}
  .icon{ :class => '{{content_type}}' }
    .inside
      {{content_type_text}}
  {{/if}}

  .actions
    = link_to 'x', '#', :class => 'remove', :'data-confirm' => t('locomotive.messages.confirm')

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
locomotive_cms-2.0.0.rc7 app/views/locomotive/content_assets/_picker.html.haml
locomotive_cms-2.0.0.rc6 app/views/locomotive/content_assets/_picker.html.haml
locomotive_cms-2.0.0.rc5 app/views/locomotive/content_assets/_picker.html.haml
locomotive_cms-2.0.0.rc4 app/views/locomotive/content_assets/_picker.html.haml
locomotive_cms-2.0.0.rc2 app/views/locomotive/content_assets/_picker.html.haml
locomotive_cms-2.0.0.rc1 app/views/locomotive/content_assets/_picker.html.haml