Sha256: 570dda09c97ece579f38ed72bd83a9872e4412f82384cba55ed8fd3a1076f9f6

Contents?: true

Size: 1.05 KB

Versions: 8

Compression:

Stored size: 1.05 KB

Contents

- if assets.blank?
  - if type == "search"
    .alert
      Sorry, There were no search results found.
  - elsif @category_filter.blank? || @category_filter == "all"
    .alert
      Sorry, There are no assets added as yet.
  - else
    .alert
      Sorry, There are no
      %i
        = @category_filter
      added as yet.
  
- else
  %ul#assetPanels.thumbnails
    - for asset in assets
      %li.span3
        .thumbnail
          %img{:src => "#{asset.thumb_small_url}"}
          .caption
            %h5
              = asset.name
            %p
              = "Added #{asset.created_at}"
            %p
              %a{:href => "#{admin_asset_url(asset)}", :rel => "#{asset.category}", :class => "assetLink btn btn-primary" , "data-title" => "#{asset.name}" , "data-thumb" => "#{asset.thumb_small_url}" , "data-jwysiwyg" => "#{(asset.category == "image" ? asset.url_for(:jwysiwyg_image) : asset.url)}" , "data-category" => "#{asset.category}"}
                Select
          
          
  
  - if assets.respond_to? :total_pages          
    = will_paginate(assets)

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
gluttonberg-core-2.5.7 app/views/gluttonberg/admin/shared/_asset_panel.html.haml
gluttonberg-core-2.5.6 app/views/gluttonberg/admin/shared/_asset_panel.html.haml
gluttonberg-core-2.5.5 app/views/gluttonberg/admin/shared/_asset_panel.html.haml
gluttonberg-core-2.5.4 app/views/gluttonberg/admin/shared/_asset_panel.html.haml
gluttonberg-core-2.5.3 app/views/gluttonberg/admin/shared/_asset_panel.html.haml
gluttonberg-core-2.5.2 app/views/gluttonberg/admin/shared/_asset_panel.html.haml
gluttonberg-core-2.5.1 app/views/gluttonberg/admin/shared/_asset_panel.html.haml
gluttonberg-core-2.5 app/views/gluttonberg/admin/shared/_asset_panel.html.haml