<h1><%= t '.title' -%></h1>
<p id="notice"><%= notice %></p>
-<%= render 'standard', :panel => @panel, :author => @author %>
+<%= render 'standard', :panel => @panel, :operators => @operators %>
-<%= link_to t('link.edit'), edit_panel_path(@panel) %>
-<%= link_to t('link.destroy'), panel_path(@panel), :method => :delete %>
-<%= link_to t('link.catch'), catch_panel_path(@panel) %>
+<% if @panel.own? @operators %>
+ <%= link_to t('link.edit'), edit_panel_path(@panel) %>
+ <%= link_to t('link.destroy'), panel_path(@panel), :method => :delete %>
+ <%= link_to t('link.catch'), catch_panel_path(@panel) %>
+<% end %>
-<h2><%= t('panels.show.new_comics') -%></h2>
-<table>
- <% @new_comics.each do |comic| %>
- <%= render 'append_comic', :panel => @panel, :comic => comic, :author => @author %>
- <% end %>
-</table>
-<h2><%= t('panels.show.fresh_comics') -%></h2>
-<table>
- <% @fresh_comics.each do |comic| %>
- <%= render 'append_comic', :panel => @panel, :comic => comic, :author => @author %>
- <% end %>
-</table>
-<h2><%= t('panels.show.copy') -%></h2>
-<%= form_for(Panel.new, :html => {:jqform => 'pettanr-panel-form'}) do |f| %>
- <%= hidden_field_tag "json", @panel.copy(@author).to_json %>
- <div>
- <%= submit_tag t('panels.show.inspire') -%>
- </div>
+<% if @operators.author %>
+ <h2><%= t('panels.show.copy') -%></h2>
+ <%= form_for(Panel.new, :html => {:jqform => 'pettanr-panel-form'}) do |f| %>
+
+ <%= hidden_field_tag "json", @panel.copy().to_json %>
+ <div>
+ <%= submit_tag t('panels.show.inspire') -%>
+ </div>
+ <% end %>
+
+ <h2><%= t('scroll_panels.append.new_scrolls') -%></h2>
+ <table>
+ <% @new_scroll_items.each do |scroll| %>
+ <%= render 'scroll_panels/append_scroll', :panel => @panel, :scroll => scroll, :operators => @operators %>
+ <% end %>
+ </table>
+ <h2><%= t('scroll_panels.append.fresh_scrolls') -%></h2>
+ <table>
+ <% @fresh_scroll_items.each do |scroll| %>
+ <%= render 'scroll_panels/append_scroll', :panel => @panel, :scroll => scroll, :operators => @operators %>
+ <% end %>
+ </table>
+ <h2><%= t('sheet_panels.append.new_sheets') -%></h2>
+ <table>
+ <% @new_sheet_items.each do |sheet| %>
+ <%= render 'sheet_panels/append_sheet', :panel => @panel, :sheet => sheet, :operators => @operators %>
+ <% end %>
+ </table>
+ <h2><%= t('sheet_panels.append.fresh_sheets') -%></h2>
+ <table>
+ <% @fresh_sheet_items.each do |sheet| %>
+ <%= render 'sheet_panels/append_sheet', :panel => @panel, :sheet => sheet, :operators => @operators %>
+ <% end %>
+ </table>
<% end %>