<tr>
- <td><%= link_to ground_picture.panel_id, panel_path(ground_picture.panel_id) %></td>
+ <td>
+ <%= link_to(h(ground_picture.id.to_s), ground_picture_path(ground_picture)) %>
+ </td>
+ <td>
+ <%= link_to(h(truncate(ground_picture.caption, :length => 12)), ground_picture_path(ground_picture)) %>
+ </td>
<% if ground_picture.picture.showable? @author %>
- <td><%= link_to(tag(:img, ground_picture.picture.tmb_opt_img_tag), ground_picture) -%></td>
+ <td>
+ <%= link_to(tag(:img, ground_picture.picture.tmb_opt_img_tag), ground_picture.picture) -%>
+ </td>
<td><%= render ground_picture.picture.credit_template, :picture => ground_picture.picture %></td>
<% else %>
<td>
</td>
<td></td>
<% end %>
- <td><%= ground_picture.z %></td>
- <td><%= ground_picture.repeat %><%= MagicNumber['ground_picture_repeat_items'][ground_picture.repeat] %></td>
+ <td>
+ <%= link_to panel_icon(:object => ground_picture.panel, :size => 25), panel_path(ground_picture.panel) %>
+ <%= link_to h(truncate((ground_picture.panel.caption), :length => 12)), panel_path(ground_picture.panel) %>
+ </td>
+ <td>
+ <%= ground_picture.z %>
+ </td>
+ <td>
+ <%= ground_picture.repeat_text %>
+ </td>
<td><%= ground_picture.x %></td>
<td><%= ground_picture.y %></td>
- <td><%= distance_of_time_in_words_to_now ground_picture.created_at %></td>
<td><%= distance_of_time_in_words_to_now ground_picture.updated_at %></td>
</tr>