OSDN Git Service

Merge branch 'v06' of git.sourceforge.jp:/gitroot/pettanr/pettanr into v06
[pettanr/pettanr.git] / app / views / resource_pictures / show.html.erb
1 <h1>
2   <%= link_to icon_tag('ResourcePicture'), resource_picture_path(@item) %>
3   <%= t '.title' -%>
4   <%= link_to icon_tag('Prof'), resource_picture_path(@item, :format => :prof) %>
5 </h1>
6 <p>
7   <b><%= t_m 'ResourcePicture.artist_id' -%>:</b>
8   <%= link_to h(@item.artist.name), artist_path(@item.artist) %>
9 </p>
10
11
12 <%= link_to tag(:img, @item.opt_img_tag), @item.url %>
13
14 <%= render @item.full_credit_template, :picture => @item %>
15
16 <p>
17   <b><%= t_m 'ResourcePicture.ext' -%>:</b>
18   <%= @item.ext %>
19 </p>
20
21 <p>
22   <b><%= t_m 'ResourcePicture.filesize' -%>:</b>
23   <%= @item.filesize %>
24 </p>
25
26 <p>
27   <b><%= t_m 'ResourcePicture.created_at' -%>:</b>
28   <%= l @item.created_at %>
29 </p>
30
31 <p>
32   <b><%= t_m 'ResourcePicture.updated_at' -%>:</b>
33   <%= l @item.updated_at %>
34 </p>
35
36 <% if @item.own? @operators -%>
37   <h3><%= t('editor') -%></h3>
38   <p id="notice"><%= notice %></p>
39   
40   <p>
41     <%= link_to t('original_pictures.show.replace'), edit_original_picture_path(@item.original_picture) %>
42     <%= link_to t('show'), original_picture_path(@item.original_picture) %>
43     <%= link_to t('original_pictures.index.stop'), resource_picture_path(@item), :method => :delete %>
44   </p>
45 <% end -%>