engine/app/views/admin/theme_assets/images.html.haml

15 lines
547 B
Plaintext
Raw Normal View History

2010-06-02 00:39:05 +00:00
#theme-images.asset-picker
2010-07-21 23:56:42 +00:00
%h2!= t('.title')
2010-06-02 00:39:05 +00:00
.actions
= admin_button_tag t('admin.theme_assets.index.new'), admin_theme_assets_url(:json), :class => 'button small add', :id => 'upload-link'
2010-07-21 23:56:42 +00:00
- if @images.empty?
2010-07-21 23:56:42 +00:00
%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
2010-07-21 23:56:42 +00:00
= render :partial => 'asset', :collection => @images, :locals => { :edit => false }
2010-07-21 23:56:42 +00:00
%li.clear