OSDN Git Service

t#31749:add shortcut on sbt
[pettanr/pettanr.git] / app / views / speech_balloon_templates / index.html.erb
index f1a9ebd..35338bb 100644 (file)
@@ -3,12 +3,19 @@
 <ul>
   <% @speech_balloon_templates.each do |st| %>
     <li>
-      <div>
+      <div class="speech_balloon_template_item">
         <%= link_to tag(:img, st.system_picture.tmb_opt_img_tag), speech_balloon_template_path(st) %>
         <div>
           <%= link_to h(st.caption), speech_balloon_template_path(st) %>
         </div>
       </div>
+      <div class="speech_balloon_template_item">
+        <% if @author and @author.working? -%>
+          <%= link_to t('speech_balloon_templates.add_to_panel'), main_app.new_speech_balloon_path(:speech_balloon_template_id => st.id) %>
+        <% end -%>
+      </div>
+      <div class="speech_balloon_template_item-row-break">
+      </div>
     </li>
   <% end %>
 </ul>