2 <%= link_to icon_tag('OriginalPicture'), original_picture_path(@item) %>
4 <%= link_to icon_tag('Prof'), original_picture_path(@item, :format => :prof) %>
7 <%= render 'exist', :pictures => Picture.find_by_md5_without_original_picture(@item.md5, @item.id) %>
8 <p id="notice"><%= notice %></p>
10 <table class="no-border">
13 <%= link_to tag(:img, @item.opt_img_tag), @item.url %>
16 <b><%= t 'original_pictures.index.status' -%>:</b>
18 <% when @item.unpublished? %>
19 <%= t('original_pictures.unpublished') %>
20 <% when @item.unlicensed? %>
21 <%= t('original_pictures.unlicensed') %>
22 <% when @item.stopped? %>
23 <%= t('original_pictures.stopped') %>
24 <% when @item.published? %>
25 <%= t('original_pictures.published') %>
30 <b><%= t_m 'OriginalPicture.published_at' -%>:</b>
31 <% if @item.published_at %>
32 <%= l @item.published_at %>
37 <b><%= t_m 'OriginalPicture.stopped_at' -%>:</b>
38 <% if @item.stopped_at %>
39 <%= l @item.stopped_at %>
44 <b><%= t_m 'OriginalPicture.ext' -%>:</b>
49 <b><%= t_m 'OriginalPicture.filesize' -%>:</b>
54 <b><%= t_m 'OriginalPicture.md5' -%>:</b>
59 <b><%= t_m 'OriginalPicture.created_at' -%>:</b>
60 <%= l @item.created_at %>
64 <b><%= t_m 'OriginalPicture.updated_at' -%>:</b>
65 <%= l @item.updated_at %>
69 <%= t 'original_pictures.show.select_license' %>
72 <%= button_to t('original_pictures.show.select'), {:controller => 'original_picture_license_groups', :action => :new, :original_picture_id => @item.id} %>
75 <%= t 'original_pictures.show.replace_picture' %>
77 <%= form_for(@item, :html => { :multipart => true }) do |f| %>
78 <%= f.file_field "file" %>
80 <%= f.submit t 'original_pictures.show.replace' %>
84 <%= t 'link.destroy' %>
86 <%= link_to t('link.destroy'), original_picture_path(@item), :method => :delete %>
90 <%= t 'original_pictures.show.history' %>
92 <%= render 'history_list', :history => @item.history %>