From 76445ac52e1f11f4d0ac141dc1e546d53c9a7343 Mon Sep 17 00:00:00 2001 From: yasushiito Date: Sun, 21 Jul 2013 11:19:37 +0900 Subject: [PATCH] t#31742:fix tab menu --- app/views/home/index.html.erb | 5 ----- app/views/layouts/test.html.erb | 7 ++++++- config/locales/pettanr.ja.yml | 4 +++- 3 files changed, 9 insertions(+), 7 deletions(-) diff --git a/app/views/home/index.html.erb b/app/views/home/index.html.erb index c7d8a619..392ac957 100644 --- a/app/views/home/index.html.erb +++ b/app/views/home/index.html.erb @@ -36,11 +36,6 @@ -

<%= t('.catch') -%>

-<% 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? -%>

<%= link_to h(@artist.name), main_app.artist_path(@artist) -%>

<%= t('.updated_picture') -%>

diff --git a/app/views/layouts/test.html.erb b/app/views/layouts/test.html.erb index 79b84173..ddffbd77 100644 --- a/app/views/layouts/test.html.erb +++ b/app/views/layouts/test.html.erb @@ -54,6 +54,7 @@ <%= link_to t_m('Comic'), main_app.comics_path %> <%= link_to t_m('Panel'), main_app.panels_path %> <%= link_to t_m('ResourcePicture'), main_app.resource_pictures_path %> + <%= link_to t_m('SpeechBalloonTemplate'), main_app.speech_balloon_templates_path %> : <%= link_to t_m('Author'), main_app.authors_path %> <%= link_to t_m('Artist'), main_app.artists_path %> @@ -64,8 +65,12 @@ <%= link_to t('tab.creator.comic'), '/home/comics' %> <%= link_to t('tab.creator.panel'), '/home/panels' %> <% if @artist %> - <%= link_to t('tab.creator.picture'), main_app.original_pictures_path %> + <%= link_to t('tab.creator.original_picture'), main_app.original_pictures_path %> + <%= link_to t('tab.creator.resource_picture'), '/home/resource_pictures' %> <% end %> + <% if @author and @author.working? -%> + <%= link_to t('tab.creator..catch'), main_app.panel_path(@author.working_panel) %> + <% end -%> <% end %> <%= yield %> diff --git a/config/locales/pettanr.ja.yml b/config/locales/pettanr.ja.yml index 2bd4f456..8353150d 100644 --- a/config/locales/pettanr.ja.yml +++ b/config/locales/pettanr.ja.yml @@ -970,7 +970,9 @@ ja: home: 作る・見せる comic: コミック panel: コマ - picture: 原画 + original_picture: 原画 + resource_picture: 素材 + catch: つかんでいるコマ reader: title: 読む・探す demander: -- 2.11.0