X-Git-Url: http://git.osdn.net/view?a=blobdiff_plain;f=app%2Fviews%2Fauthors%2Fground_pictures.html.erb;h=726c337dfa8e747a2137bfb79421b8a62a48b4ad;hb=26f1bb0f8cf40ebd82495945236f83542dfe21ed;hp=f77f93cfaf82032e52fc2396e5ae7e2c821b5e73;hpb=1e8563df33805d60d208f91e35e5c06ef7d9d629;p=pettanr%2Fpettanr.git diff --git a/app/views/authors/ground_pictures.html.erb b/app/views/authors/ground_pictures.html.erb index f77f93cf..726c337d 100644 --- a/app/views/authors/ground_pictures.html.erb +++ b/app/views/authors/ground_pictures.html.erb @@ -2,35 +2,20 @@
<%= t_m 'GroundPicture.panel_id' -%> | +<%= t_m 'GroundPicture.id' -%> | +<%= t_m 'GroundPicture.caption' -%> | <%= t_m 'GroundPicture.picture_id' -%> | <%= -%> | +<%= t_m 'GroundPicture.panel_id' -%> | <%= t_m 'GroundPicture.z' -%> | <%= t_m 'GroundPicture.repeat' -%> | <%= t_m 'GroundPicture.x' -%> | <%= t_m 'GroundPicture.y' -%> | -<%= t_m 'GroundPicture.created_at' -%> | <%= t_m 'GroundPicture.updated_at' -%> |
---|---|---|---|---|---|---|---|---|---|---|---|
<%= link_to ground_picture.panel_id, panel_path(ground_picture.panel_id) %> | - <% if ground_picture.picture.showable? @author %> -<%= link_to(tag(:img, ground_picture.picture.tmb_opt_img_tag), ground_picture) -%> | -<%= render ground_picture.picture.credit_template, :picture => ground_picture.picture %> | - <% else %> -- <%= link_to(tag(:img, ground_picture.picture.tail_tmb_opt_img_tag(asset_path('error.png'))), ground_picture) -%> - | -- <% end %> - | <%= ground_picture.z %> | -<%= ground_picture.repeat %><%= MagicNumber['ground_picture_repeat_items'][ground_picture.repeat] %> | -<%= ground_picture.x %> | -<%= ground_picture.y %> | -<%= distance_of_time_in_words_to_now ground_picture.created_at %> | -<%= distance_of_time_in_words_to_now ground_picture.updated_at %> | -