36 lines
784 B
Plaintext
36 lines
784 B
Plaintext
- title t('.title')
|
|
|
|
- content_for :submenu do
|
|
= render 'admin/shared/menu/settings'
|
|
|
|
- content_for :buttons do
|
|
= admin_button_tag :new, new_admin_theme_asset_url, :class => 'new'
|
|
|
|
%p= t('.help')
|
|
|
|
%h3= t('.css_and_js')
|
|
- if @non_image_assets.empty?
|
|
%p.no-items= t('.no_items', :url => new_admin_theme_asset_url)
|
|
- else
|
|
%ul.assets
|
|
= render :partial => 'asset', :collection => @non_image_assets
|
|
%li.clear
|
|
|
|
%br
|
|
|
|
%h3= t('.images')
|
|
- if @image_assets.empty?
|
|
%p.no-items= t('.no_items', :url => new_admin_theme_asset_url)
|
|
- else
|
|
%ul.assets
|
|
= render :partial => 'asset', :collection => @image_assets
|
|
%li.clear
|
|
|
|
|
|
- if not @flash_assets.empty?
|
|
%br
|
|
|
|
%h3= t('.flashes')
|
|
%ul.assets
|
|
= render :partial => 'asset', :collection => @flash_assets
|
|
%li.clear |