OSDN Git Service

t#32046:
[pettanr/pettanr.git] / app / views / sheet_panels / _play_footer.html.erb
1 <table class="no-border" style="margin: 0px; padding: 0px; width=100%">
2   <tr>
3     <td>
4       <% if sheet_panel.panel -%>
5         <%= link_to panel_icon(:object => sheet_panel.panel, :size => 25), panel_path(sheet_panel.panel) %>
6         <%= link_to author_icon(:object => sheet_panel.panel.author, :size => 17), author_path(sheet_panel.panel.author) %>
7       <% end %>
8     </td>
9     <td>
10       <%= link_to sheet_panel_icon(:object => sheet_panel, :size => 25), sheet_panel_path(sheet_panel) %>
11       <%= link_to author_icon(:object => sheet_panel.author, :size => 17), author_path(sheet_panel.author) %>
12     </td>
13     <td>
14       <% if sheet_panel.own? author %>
15         <%= render 'sheet_panels/order', :sheet_panel => sheet_panel %>
16       <% else %>
17         No.<%= sheet_panel.t %>
18       <% end %>
19     </td>
20   </tr>
21 </table>