Fix for NCCU 0430 all functions ok with two submanagers but different behavors

This commit is contained in:
Matthew K. Fu JuYuan authored and Christophe Vilayphiou committed 2012-05-04 15:38:18 +08:00
1 parent 45e21f9569
commit 05ded8de03
14 files changed
+107 -27

No files matched your search

+3 -3
View File
@@ -25,9 +25,9 @@ module OrbitBackendHelper
content_tag :thead do
content_tag :tr, :class => "sort-header" do
concat (content_tag :th, :class => "span1 strong" do
concat check_box_tag :check_all
concat link_to content_tag(:i, nil, :class => "icon-trash"), '#', :class => "list-remove"
end) if delete_all
concat check_box_tag :check_all
concat link_to content_tag(:i, nil, :class => "icon-trash"), '#', :class => "list-remove"
end) if delete_all && is_manager?
titles.each do |title|
concat render_title(title[0], title[1], title[2], title[3])
end