Sha256: 9b6d88599d107187e5bc8704f732052a0c55fe20b4bb2933472a0ba9f19c3037

Contents?: true

Size: 1.46 KB

Versions: 18

Compression:

Stored size: 1.46 KB

Contents

- breadcrumbs_val = "?previous_page_title=Recent&return_url=#{admin_library_path}?tab=recent"

- if assets.blank?
  %ul.assetList
    %li
- else
  %table{:id => 'assets_table', :class => 'table table-bordered', :cellpadding => 0, :cellspacing => 0, :rel => "" , :summary => "Assets" }
    %thead
      %tr
        %th{:width => 170}
        %th Title
        %th{:class => "author", :width => 80} File Type
        %th{:class => "author", :width => 80} Author
        %th{:class => "date", :style => 'width: 20%'}
          Date added
        %th{:style => 'width: 20%'}
    %tbody
      - for asset in assets
        %tr
          %td
            %a{:href => admin_asset_url(asset), :class => "thumbnail"}
              %img{:src => asset.thumb_small_url  }
          %td
            %a{:href => admin_asset_url(asset)+breadcrumbs_val, :class => "assetLink"}
              = asset.name
              
          %td.author
            = asset.asset_type.name      
          %td.author
            = asset.user.full_name
          %td.date
            = date_format(asset.created_at)
          %td
            %span.controls
              %a{:href => edit_admin_asset_url(asset)+breadcrumbs_val, :class => "assetLink btn"}
                Edit  
              %a{:href => crop_admin_asset_url(asset)+breadcrumbs_val, :class => "assetLink btn"}
                Crop
              %a{:href => delete_admin_asset_url(asset) +breadcrumbs_val, :class => "assetLink btn btn-danger"}
                Delete

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
gluttonberg-core-3.0.2 app/views/gluttonberg/admin/asset_library/assets/_assets_listing_without_sorting.html.haml
gluttonberg-core-3.0.1 app/views/gluttonberg/admin/asset_library/assets/_assets_listing_without_sorting.html.haml
gluttonberg-core-3.0.0 app/views/gluttonberg/admin/asset_library/assets/_assets_listing_without_sorting.html.haml
gluttonberg-core-2.6.4 app/views/gluttonberg/admin/asset_library/assets/_assets_listing_without_sorting.html.haml
gluttonberg-core-2.6.3 app/views/gluttonberg/admin/asset_library/assets/_assets_listing_without_sorting.html.haml
gluttonberg-core-2.6.2 app/views/gluttonberg/admin/asset_library/assets/_assets_listing_without_sorting.html.haml
gluttonberg-core-2.6.1 app/views/gluttonberg/admin/asset_library/assets/_assets_listing_without_sorting.html.haml
gluttonberg-core-2.6.0 app/views/gluttonberg/admin/asset_library/assets/_assets_listing_without_sorting.html.haml
gluttonberg-core-2.5.9 app/views/gluttonberg/admin/asset_library/assets/_assets_listing_without_sorting.html.haml
gluttonberg-core-2.5.8 app/views/gluttonberg/admin/asset_library/assets/_assets_listing_without_sorting.html.haml
gluttonberg-core-2.5.7 app/views/gluttonberg/admin/asset_library/assets/_assets_listing_without_sorting.html.haml
gluttonberg-core-2.5.6 app/views/gluttonberg/admin/asset_library/assets/_assets_listing_without_sorting.html.haml
gluttonberg-core-2.5.5 app/views/gluttonberg/admin/asset_library/assets/_assets_listing_without_sorting.html.haml
gluttonberg-core-2.5.4 app/views/gluttonberg/admin/asset_library/assets/_assets_listing_without_sorting.html.haml
gluttonberg-core-2.5.3 app/views/gluttonberg/admin/asset_library/assets/_assets_listing_without_sorting.html.haml
gluttonberg-core-2.5.2 app/views/gluttonberg/admin/asset_library/assets/_assets_listing_without_sorting.html.haml
gluttonberg-core-2.5.1 app/views/gluttonberg/admin/asset_library/assets/_assets_listing_without_sorting.html.haml
gluttonberg-core-2.5 app/views/gluttonberg/admin/asset_library/assets/_assets_listing_without_sorting.html.haml