Sha256: 2d2712049a9a2aaa0a54d01437ec19e9afb39398d954fe3bc13f953b9c97d418

Contents?: true

Size: 882 Bytes

Versions: 15

Compression:

Stored size: 882 Bytes

Contents

<%= content_tag(:div, :id => dom_id(asset), :class => "gal-item", :"data-url" => asset.url_content) do %>
  <%= link_to image_tag("/assets/ckeditor/filebrowser/images/gal_del.png", 
    :title => I18n.t('ckeditor.buttons.delete')), 
          polymorphic_path(asset, :format => :json), 
          :remote => true,
          :method => :delete, 
          :confirm => t('ckeditor.confirm_delete'),
          :class => "fileupload-cancel gal-del" %>
	
	<div class="fileupload-file gal-inner-holder">
		<div class="img"><%= image_tag(asset.url_thumb, :title => asset.filename) %></div>
		<div class="img-data">
			<div class="img-name"><%= asset.filename %></div>
			<div class="time-size">
				<div class="time"><%= asset.format_created_at %></div>
				<div class="fileupload-size size"><%= number_to_human_size(asset.size) if asset.size %></div>
			</div>
		</div>
	</div>
<% end %>

Version data entries

15 entries across 15 versions & 2 rubygems

Version Path
glebtv-ckeditor-4.0.2.7 app/views/ckeditor/shared/_asset.html.erb
glebtv-ckeditor-4.0.2.6 app/views/ckeditor/shared/_asset.html.erb
glebtv-ckeditor-4.0.2.5 app/views/ckeditor/shared/_asset.html.erb
glebtv-ckeditor-4.0.2.4 app/views/ckeditor/shared/_asset.html.erb
glebtv-ckeditor-4.0.2.2 app/views/ckeditor/shared/_asset.html.erb
glebtv-ckeditor-4.0.2.1 app/views/ckeditor/shared/_asset.html.erb
glebtv-ckeditor-4.0.2 app/views/ckeditor/shared/_asset.html.erb
glebtv-ckeditor-4.0.1 app/views/ckeditor/shared/_asset.html.erb
ckeditor-3.7.3 app/views/ckeditor/shared/_asset.html.erb
ckeditor-3.7.2 app/views/ckeditor/shared/_asset.html.erb
ckeditor-3.7.1 app/views/ckeditor/shared/_asset.html.erb
ckeditor-3.7.0 app/views/ckeditor/shared/_asset.html.erb
ckeditor-3.7.0.rc3 app/views/ckeditor/shared/_asset.html.erb
ckeditor-3.7.0.rc2 app/views/ckeditor/shared/_asset.html.erb
ckeditor-3.7.0.rc1 app/views/ckeditor/shared/_asset.html.erb