Sha256: f4d4ad18532fa02ff2bbddadf259b6b0da1a894bab6ce9fe34905f80751b912e

Contents?: true

Size: 1 KB

Versions: 2

Compression:

Stored size: 1 KB

Contents

<%= render 'menu' %>
<div id="browser-list">
<ul>
  <% @assets.each do |asset| %>
    <li class="file" title="<%= h( asset.title ) %>">
      <div class="file-detail" id="asset-<%= asset.id %>">
        <span class="file-title"><%= h( asset.title ) %></span>
        
        <%= (asset.image? or asset.video?) ? image_tag( asset.url('70x70#', asset.dragonfly_extension_sym)  ) : asset_icon(asset) %>
      </div>
      
      <%= link_to 'Show', noodall_admin_asset_path(asset, :readonly => readonly), :class => 'show button', :title => 'View this asset' %>
      <%= link_to 'Add me', asset.url, :class => 'add button', :title => 'Add this asset' %>
    </li>
  <% end %>
  </ul>
  <%= will_paginate(@assets, :previous_label => 'Previous', :next_label => 'Next') %>
</div>
<div id="tags">
  <h2>Tags</h2>
  <ul>
<% for tag in @tags %>
    <li><%= link_to "#{h( tag.name )} (#{tag.count})", :tag => tag.name  %></li>
<% end -%>
  </ul>
  <%= link_to 'All Tags', noodall_admin_asset_tags_path(controller.action_name) %>
</div>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
noodall-ui-0.1.4 app/views/noodall/admin/assets/_browser.html.erb
noodall-ui-0.1.3 app/views/noodall/admin/assets/_browser.html.erb