OSDN Git Service

t#31742:fix tab menu
authoryasushiito <yas@pen-chan.jp>
Sun, 21 Jul 2013 02:19:37 +0000 (11:19 +0900)
committeryasushiito <yas@pen-chan.jp>
Sun, 21 Jul 2013 02:19:37 +0000 (11:19 +0900)
app/views/home/index.html.erb
app/views/layouts/test.html.erb
config/locales/pettanr.ja.yml

index c7d8a61..392ac95 100644 (file)
     </td>
   </tr>
 </table>
-<h3><%= t('.catch') -%></h3>
-<% if @author and @author.working? -%>
-  <%= link_to panel_icon(:object => @author.working_panel, :size => 25), panel_path(@author.working_panel) %>
-  <%= link_to @author.working_panel.caption, main_app.panel_path(@author.working_panel) %>
-<% end -%>
 <% if @author.artist? -%>
   <h2><%= link_to h(@artist.name), main_app.artist_path(@artist) -%></h2>
   <h3><%= t('.updated_picture') -%></h3>
index 79b8417..ddffbd7 100644 (file)
@@ -54,6 +54,7 @@
   <%= link_to t_m('Comic'), main_app.comics_path %>\r
   <%= link_to t_m('Panel'), main_app.panels_path %>\r
   <%= link_to t_m('ResourcePicture'), main_app.resource_pictures_path %>\r
+  <%= link_to t_m('SpeechBalloonTemplate'), main_app.speech_balloon_templates_path %>\r
    : \r
   <%= link_to t_m('Author'), main_app.authors_path %>\r
   <%= link_to t_m('Artist'), main_app.artists_path %>\r
     <%= link_to t('tab.creator.comic'), '/home/comics' %>\r
     <%= link_to t('tab.creator.panel'), '/home/panels' %>\r
     <% if @artist %>\r
-      <%= link_to t('tab.creator.picture'), main_app.original_pictures_path %>\r
+      <%= link_to t('tab.creator.original_picture'), main_app.original_pictures_path %>\r
+      <%= link_to t('tab.creator.resource_picture'), '/home/resource_pictures' %>\r
     <% end %>\r
+    <% if @author and @author.working? -%>\r
+      <%= link_to t('tab.creator..catch'), main_app.panel_path(@author.working_panel) %>\r
+    <% end -%>\r
   </div>\r
 <% end %>\r
 <%= yield %>\r
index 2bd4f45..8353150 100644 (file)
@@ -970,7 +970,9 @@ ja:
       home: 作る・見せる
       comic: コミック
       panel: コマ
-      picture: 原画
+      original_picture: 原画
+      resource_picture: 素材
+      catch: つかんでいるコマ
     reader:
       title: 読む・探す
     demander: