- if @author
- @new_scrolls = Scroll.mylist(@author, 1, 5)
- @fresh_scrolls = ScrollPanel.mylist(@author, 1, 5).map {|sp| sp.scroll}
- @new_sheets = Sheet.mylist(@author, 1, 5)
- @fresh_sheets = SheetPanel.mylist(@author, 1, 5).map {|sp| sp.sheet}
+ @panel = @item
+ if @operators.author
+ @new_scrolls = Scroll.mylist(@operators.author, 1, 5)
+ @fresh_scrolls = ScrollPanel.mylist(@operators.author, 1, 5).map {|sp| sp.scroll}
+ @new_sheets = Sheet.mylist(@operators.author, 1, 5)
+ @fresh_sheets = SheetPanel.mylist(@operators.author, 1, 5).map {|sp| sp.sheet}