Second part of admin-namespace-reorder. Also renamed OrderGroup into Ordergroup. More view-sharing between groups is neccessary.
This commit is contained in:
parent
2d5dc03b90
commit
fadc951208
83 changed files with 410 additions and 518 deletions
|
|
@ -29,7 +29,7 @@
|
|||
%label{:for => "task_group"}
|
||||
%b=_ 'Group'
|
||||
%br/
|
||||
= select(:task, :group_id, Group.find(:all, :conditions => "type != 'OrderGroup'", :order => 'name').collect {|g| [ g.name, g.id ] }, { :include_blank => true })
|
||||
= select(:task, :group_id, Group.find(:all, :conditions => "type != 'Ordergroup'", :order => 'name').collect {|g| [ g.name, g.id ] }, { :include_blank => true })
|
||||
%p
|
||||
%label{:for => "task_due_date"}
|
||||
%b=_ 'Due date'
|
||||
|
|
|
|||
|
|
@ -15,5 +15,5 @@
|
|||
%li
|
||||
=_ 'Group tasks'
|
||||
%ul
|
||||
- for group in Group.find :all, :conditions => "type != 'OrderGroup'"
|
||||
- for group in Group.find :all, :conditions => "type != 'Ordergroup'"
|
||||
%li= link_to group.name, :action => "workgroup", :id => group
|
||||
Loading…
Add table
Add a link
Reference in a new issue