display more info in upload page
This commit is contained in:
@@ -6,6 +6,17 @@
|
||||
<li>Date: <%= @upload.created_at %></li>
|
||||
<li>Source: <%= @upload.source %></li>
|
||||
<li>Tags: <%= @upload.tag_string %></li>
|
||||
<% if @upload.md5.present? %>
|
||||
<li>MD5: <%= @upload.md5 %>
|
||||
<% end %>
|
||||
<% if @upload.file_size.present? %>
|
||||
<li>
|
||||
Size: <%= number_to_human_size(@upload.file_size) %></li>
|
||||
<% if @upload.image_width.present? %>
|
||||
(<span itemprop="width"><%= @upload.image_width %></span>x<span itemprop="height"><%= @upload.image_height %></span>)
|
||||
<% end %>
|
||||
</li>
|
||||
<% end %>
|
||||
</ul>
|
||||
|
||||
<% if @upload.is_completed? %>
|
||||
|
||||
Reference in New Issue
Block a user