Sha256: ffb2ba40ec33420ea407e127127ec8bd4d786ebeb292c38bcf66cb490798e111
Contents?: true
Size: 1.65 KB
Versions: 4
Compression:
Stored size: 1.65 KB
Contents
<div id="browserFileInfo" class="content"> <% if @media_file %> <% if @media_file.file_type == "image" %> <dl class="advanced"> <dt><%=t(:preview, :scope => [:media_file, :edit])%></dt> <dd> <%= image_tag(url_for( :action => "show", :controller => "/skyline/media_files_data", :media_dir_id => @media_dir, :name => @media_file.name, :size => '100x100'), :alt => "Image") %> </dd> </dl> <%end%> <dl class="advanced"> <dt><%= t(:meta_data, :scope => [:media_file,:edit]) %></dt> <dd> <dl class="details"> <% if @media_file.file_type == "image" && @media_file.dimension.present? %> <dt><%=t(:size, :scope => [:media_file, :edit])%>: </dt> <dd><%=@media_file.dimension['width'] %>x<%=@media_file.dimension['height'] %></dd> <%end%> <dt><%=t(:type, :scope => [:media_file, :edit])%>: </dt> <dd><%=@media_file.file_type %></dd> <dt><%=t(:filesize, :scope => [:media_file, :edit])%>: </dt> <dd><%= number_to_human_size @media_file.size %></dd> <dt><%= Skyline::MediaFile.human_attribute_name("name") %></dt> <dd><%= @media_file.name %></dd> <dt><%= Skyline::MediaFile.human_attribute_name("title") %></dt> <dd><%= @media_file.title %></dd> <dt><%= Skyline::MediaFile.human_attribute_name("description")%></dt> <dd><%= @media_file.description%></dd> </dl> </dd> </dl> <% end %> </div>
Version data entries
4 entries across 4 versions & 2 rubygems