<div>
<% if user_signed_in? %>
<%= link_to t('home.index.title'), '/home' %>
- <%= link_to t('home.scrolls.title'), '/home/scroll' %>
- <%= link_to t('home.panels.title'), '/home/panel' %>
- <%= link_to t('home.panel_pictures.title'), '/home/panel_picture' %>
- <%= link_to h(truncate(@author.name, :length => 12)), main_app.author_path(@author) %>
- <% if @artist %>
+ <% if @operators.author %>
+ <%= link_to t('home.scrolls.title'), '/home/scroll' %>
+ <%= link_to t('home.panels.title'), '/home/panel' %>
+ <%= link_to t('home.panel_pictures.title'), '/home/panel_picture' %>
+ <%= link_to h(truncate(@operators.author.name, :length => 12)), main_app.author_path(@operators.author) %>
+ <% end %>
+ <% if @operators.artist %>
<%= link_to t('home.pictures.title'), main_app.original_pictures_path %>
- <%= link_to h(truncate(@artist.name, :length => 12)), main_app.artist_path(@artist) %>
+ <%= link_to h(truncate(@operators.artist.name, :length => 12)), main_app.artist_path(@operators.artist) %>
<% end %>
<%= link_to t('home.configure.title'), '/home/configure' %>
<%= link_to t('home.sign_out.title'), main_app.destroy_user_session_path, :method => :delete %>