OSDN Git Service

t30329#:i18n flash message
[pettanr/pettanr.git] / app / views / stories / _footer.html.erb
1 <table class="no-border" style="margin: 0px; padding: 0px; width=100%">
2   <tr>
3     <td>
4       <% if story.panel -%>
5         <%= link_to panel_icon(:object => story.panel, :size => 25), panel_path(story.panel) %>
6         <%= link_to author_icon(:object => story.panel.author, :size => 17), author_path(story.panel.author) %>
7         <%= distance_of_time_in_words_to_now story.panel.updated_at %>
8       <% end %>
9     </td>
10     <td>
11       <%= link_to story_icon(:object => story, :size => 25), story_path(story) %>
12       <%= link_to author_icon(:object => story.author, :size => 17), author_path(story.author) %>
13       <%= l story.updated_at %>
14     </td>
15     <td>
16       <% if story.own? author %>
17         <%= render 'order', :story => story %>
18       <% else %>
19         No.<%= story.t %>
20       <% end %>
21     </td>
22   </tr>
23 </table>