Sha256: 81c5f5dff6a2c13bbb8b7de74922a5f073d44e3383d9f9073f69cd4249174162
Contents?: true
Size: 1.11 KB
Versions: 32
Compression:
Stored size: 1.11 KB
Contents
<%= image_tag asset.public_filename(:square) %> <div> <h4><%= truncate(asset.filename,{:length => 50}) %></h4> <%= link_to_function "View Info", "AssetBrowser.openInfo(#{asset.id}, this)" %><br /> <% if for_content -%> <%= link_to_function "Attach", "AssetBrowser.addAssetToContentNode(#{asset.to_json}.#{asset.class.name.demodulize.underscore})" %> <h4>Insert Image</h4> <%= link_to_function "Large", "addAsset(#{asset.id}, 'large' )" %> | <%= link_to_function "Medium ", "addAsset(#{asset.id}, 'medium' )" %> | <%= link_to_function "Small ", "addAsset(#{asset.id}, 'thumb' )" %> <% elsif controller.controller_name != 'assets' %> <%= link_to_function "Detach", "AssetBrowser.removeAssetFromContentNode(#{asset.id})" %> <h4>Insert Image</h4> <%= link_to_function "Large", "addAsset(#{asset.id}, 'large' )" %> | <%= link_to_function "Medium ", "addAsset(#{asset.id}, 'medium' )" %> | <%= link_to_function "Small ", "addAsset(#{asset.id}, 'thumb' )" %> <% else %> <%= link_to_function "Delete", "AssetBrowser.assetAction(#{asset.to_json}.#{asset.class.name.demodulize.underscore})" %> <% end -%> </div>
Version data entries
32 entries across 32 versions & 1 rubygems