OSDN Git Service

merge v06sheet
[pettanr/pettanr.git] / app / views / sheet_panels / _play_footer.html.erb
diff --git a/app/views/sheet_panels/_play_footer.html.erb b/app/views/sheet_panels/_play_footer.html.erb
new file mode 100644 (file)
index 0000000..08d4dda
--- /dev/null
@@ -0,0 +1,17 @@
+<table class="no-border" style="margin: 0px; padding: 0px; width=100%">
+  <tr>
+    <td>
+      <% if sheet_panel.panel -%>
+        <%= link_to panel_icon(:object => sheet_panel.panel, :size => 25), panel_path(sheet_panel.panel) %>
+        <%= link_to author_icon(:object => sheet_panel.panel.author, :size => 17), author_path(sheet_panel.panel.author) %>
+      <% end %>
+    </td>
+    <td>
+      <%= link_to sheet_panel_icon(:object => sheet_panel, :size => 25), sheet_panel_path(sheet_panel) %>
+      <%= link_to author_icon(:object => sheet_panel.author, :size => 17), author_path(sheet_panel.author) %>
+    </td>
+    <td>
+      No.<%= sheet_panel.t %>
+    </td>
+  </tr>
+</table>