<h1><%= t '.title' -%></h1>
+<% if @operators.author -%>
<h2><%= link_to h(@operators.author.name), main_app.author_path(@operators.author) -%></h2>
<h3><%= t('.updated_scroll') -%></h3>
-<table>
- <tr height="100px">
- <td width="200px" align="center" valign="middle">
- <%= link_to t_m('Scroll'), '/home/scrolls' %>
- <%= link_to t('*'), new_scroll_path %>
- </td>
- <td width="200px" align="center" valign="middle">
- <%= link_to t_m('ScrollPanel'), '/home/scroll_panels' %>
- <%= link_to t('*'), new_scroll_panel_path %>
- </td>
- <td width="200px" align="center" valign="middle">
- <%= link_to t_m('Comic'), '/home/comics' %>
- <%= link_to t('*'), new_comic_path %>
- </td>
- <td width="200px" align="center" valign="middle">
- <%= link_to t_m('Story'), '/home/stories' %>
- <%= link_to t('*'), new_story_path %>
- </td>
- </tr>
- <tr height="100px">
- <td width="200px" align="center" valign="middle">
- <%= link_to t_m('StorySheet'), '/home/story_sheets' %>
- <%= link_to t('*'), new_story_sheet_path %>
- </td>
- <td width="200px" align="center" valign="middle">
- <%= link_to t_m('Sheet'), '/home/sheets' %>
- <%= link_to t('*'), new_sheet_path %>
- </td>
- <td width="200px" align="center" valign="middle">
- <%= link_to t_m('SheetPanel'), '/home/sheet_panels' %>
- <%= link_to t('*'), new_sheet_panel_path %>
- </td>
- <td width="200px" align="center" valign="middle">
- <%= link_to t_m('Panel'), '/home/panels' %>
- <%= link_to t('*'), new_panel_path %>
- </td>
- </tr>
-</table>
-<h3><%= t('.used_element') -%></h3>
-<table>
- <tr height="100px">
- <td width="200px" align="center" valign="middle">
- <%= link_to t_m('PanelPicture'), '/home/panel_pictures' %>
- </td>
- <td width="200px" align="center" valign="middle">
- <%= link_to t_m('SpeechBalloon'), '/home/speech_balloons' %>
- </td>
- <td width="200px" align="center" valign="middle">
- <%= link_to t_m('GroundPicture'), '/home/ground_pictures' %>
- </td>
- <td width="200px" align="center" valign="middle">
- <%= link_to t_m('GroundColor'), '/home/ground_colors' %>
- <%= link_to t('*'), new_ground_color_path %>
- </td>
- <td width="200px" align="center" valign="middle">
- </td>
- </tr>
-</table>
+ <table>
+ <tr height="100px">
+ <td width="200px" align="center" valign="middle">
+ <%= link_to t_m('Scroll'), '/home/scrolls' %>
+ <%= link_to t('*'), new_scroll_path %>
+ </td>
+ <td width="200px" align="center" valign="middle">
+ <%= link_to t_m('ScrollPanel'), '/home/scroll_panels' %>
+ <%= link_to t('*'), new_scroll_panel_path %>
+ </td>
+ <td width="200px" align="center" valign="middle">
+ <%= link_to t_m('Comic'), '/home/comics' %>
+ <%= link_to t('*'), new_comic_path %>
+ </td>
+ <td width="200px" align="center" valign="middle">
+ <%= link_to t_m('Story'), '/home/stories' %>
+ <%= link_to t('*'), new_story_path %>
+ </td>
+ </tr>
+ <tr height="100px">
+ <td width="200px" align="center" valign="middle">
+ <%= link_to t_m('StorySheet'), '/home/story_sheets' %>
+ <%= link_to t('*'), new_story_sheet_path %>
+ </td>
+ <td width="200px" align="center" valign="middle">
+ <%= link_to t_m('Sheet'), '/home/sheets' %>
+ <%= link_to t('*'), new_sheet_path %>
+ </td>
+ <td width="200px" align="center" valign="middle">
+ <%= link_to t_m('SheetPanel'), '/home/sheet_panels' %>
+ <%= link_to t('*'), new_sheet_panel_path %>
+ </td>
+ <td width="200px" align="center" valign="middle">
+ <%= link_to t_m('Panel'), '/home/panels' %>
+ <%= link_to t('*'), new_panel_path %>
+ </td>
+ </tr>
+ </table>
+ <h3><%= t('.used_element') -%></h3>
+ <table>
+ <tr height="100px">
+ <td width="200px" align="center" valign="middle">
+ <%= link_to t_m('PanelPicture'), '/home/panel_pictures' %>
+ </td>
+ <td width="200px" align="center" valign="middle">
+ <%= link_to t_m('SpeechBalloon'), '/home/speech_balloons' %>
+ </td>
+ <td width="200px" align="center" valign="middle">
+ <%= link_to t_m('GroundPicture'), '/home/ground_pictures' %>
+ </td>
+ <td width="200px" align="center" valign="middle">
+ <%= link_to t_m('GroundColor'), '/home/ground_colors' %>
+ <%= link_to t('*'), new_ground_color_path %>
+ </td>
+ <td width="200px" align="center" valign="middle">
+ </td>
+ </tr>
+ </table>
+<% else -%>
+ <h2><%= t('.author') -%></h2>
+ <h3><%= link_to t('.not_author'), main_app.new_author_path -%></h2>
+<% end -%>
<% if @operators.artist -%>
<h2><%= link_to h(@operators.artist.name), main_app.artist_path(@operators.artist) -%></h2>
<h3><%= t('.updated_picture') -%></h3>
</table>
<% else -%>
<h2><%= t('.artist') -%></h2>
- <h3><%= t('.updated_picture') -%></h3>
<h3><%= link_to t('.not_artist'), main_app.new_artist_path -%></h2>
<% end -%>