OSDN Git Service

work
[pettanr/pettanr.git] / app / views / resource_pictures / show.html.erb
index 9dc4303..ab30c40 100644 (file)
 
 <%= link_to t('link.back'), resource_pictures_path %>
 
-<% if @author and @author.working? -%>
+<% if @operators.author and @operators.author.working? -%>
   <h3><%= t('home.index.catch') -%></h3>
-  <%= 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) %>
+  <%= link_to panel_icon(:object => @operators.author.working_panel, :size => 25), panel_path(@operators.author.working_panel) %>
+  <%= link_to @operators.author.working_panel.caption, main_app.panel_path(@operators.author.working_panel) %>
 
   <p>
     <%= link_to t('resource_pictures.add_to_panel_for_panel_picture'), main_app.new_panel_picture_path(:picture_id => @resource_picture.picture_id) %>