Sha256: 38eb069e528d9d38503eb2ef1ec31048f693e3f615dd96109f6e94f9a148f1e8
Contents?: true
Size: 1.05 KB
Versions: 4
Compression:
Stored size: 1.05 KB
Contents
%li.asset{:id => tp ? "tp_#{tp.id}" : "asset_#{asset.id}", :rel => tp ? asset.id : nil, :data => { 'asset-id' => asset ? asset.id: nil}} .asset_content .icon =render :partial => content_partial(asset.content, :icon), :locals => {:content => asset.content} .caption =link_to truncate(asset.name,:length => 13,:omission => "..."), asset_content_path(asset.content), :class => "caption" .asset_actions .action -if user_signed_in? =button_to "Edit", "", :method => :get, :class => "edit_button", :data => {:asset_id => asset.id, :content_id => asset.content_id} =#image_tag "fassets_core/drag.png", :width => 12, :height => 13, :class => "handle" -if tp =button_to "Drop", main_app.user_tray_position_path(current_user,tp.id), :method => :delete, :class => "drop_button", :data => {:tp_id => tp.id, :user_id => current_user.id} -else -@content = asset.content =render :partial => "assets/put_on_tray", :locals => {}
Version data entries
4 entries across 4 versions & 1 rubygems