<%= notice %>
<%= link_to tag(:img, @item.opt_img_tag), @item.url %>
<%= t 'original_pictures.index.status' -%>: <% case true %> <% when @item.unpublished? %> <%= t('original_pictures.unpublished') %> <% when @item.unlicensed? %> <%= t('original_pictures.unlicensed') %> <% when @item.stopped? %> <%= t('original_pictures.stopped') %> <% when @item.published? %> <%= t('original_pictures.published') %> <% end %> <%= t_m 'OriginalPicture.published_at' -%>: <% if @item.published_at %> <%= l @item.published_at %> <% end %> <%= t_m 'OriginalPicture.stopped_at' -%>: <% if @item.stopped_at %> <%= l @item.stopped_at %> <% end %> <%= t_m 'OriginalPicture.ext' -%>: <%= @item.ext %> <%= t_m 'OriginalPicture.filesize' -%>: <%= @item.filesize %> <%= t_m 'OriginalPicture.md5' -%>: <%= h(@item.md5) %> <%= t_m 'OriginalPicture.created_at' -%>: <%= l @item.created_at %> <%= t_m 'OriginalPicture.updated_at' -%>: <%= l @item.updated_at %> <%= t 'original_pictures.show.select_license' %><%= button_to t('original_pictures.show.select'), {:controller => 'original_picture_license_groups', :action => :new, :original_picture_id => @item.id} %> <%= t 'original_pictures.show.replace_picture' %><%= form_for(@item, :html => { :multipart => true }) do |f| %> <%= f.file_field "file" %>
<%= f.submit t 'original_pictures.show.replace' %>
<% end %>
<%= t 'link.destroy' %><%= link_to t('link.destroy'), original_picture_path(@item), :method => :delete %> |
<%= t 'original_pictures.show.history' %><%= render 'history_list', :history => OriginalPicture.find_history(@item.id) %> |