odd-even removed from admin list, sort order with symbols
This commit is contained in:
parent
68b6c329b9
commit
1bba302262
@ -19,10 +19,10 @@ class AdditionalsAssignToMeController < ApplicationController
|
||||
return redirect_to(issue_path(@issue))
|
||||
end
|
||||
|
||||
last_journal = @issue.journals.visible.order('created_on').last
|
||||
last_journal = @issue.journals.visible.order(:created_on).last
|
||||
return redirect_to(issue_path(@issue)) if last_journal.nil?
|
||||
|
||||
last_journal = @issue.journals.visible.order('created_on').last
|
||||
last_journal = @issue.journals.visible.order(:created_on).last
|
||||
redirect_to "#{issue_path(@issue)}#change-#{last_journal.id}"
|
||||
end
|
||||
|
||||
|
@ -22,11 +22,11 @@ class AdditionalsChangeStatusController < ApplicationController
|
||||
return redirect_to(issue_path(@issue))
|
||||
end
|
||||
|
||||
last_journal = @issue.journals.visible.order('created_on').last
|
||||
last_journal = @issue.journals.visible.order(:created_on).last
|
||||
|
||||
return redirect_to(issue_path(@issue)) if last_journal.nil?
|
||||
|
||||
last_journal = @issue.journals.visible.order('created_on').last
|
||||
last_journal = @issue.journals.visible.order(:created_on).last
|
||||
redirect_to "#{issue_path(@issue)}#change-#{last_journal.id}"
|
||||
end
|
||||
|
||||
|
@ -1,10 +1,10 @@
|
||||
table.list
|
||||
tr class="#{cycle('odd', 'even')}"
|
||||
tr
|
||||
td.name
|
||||
= "#{l(:label_system_info)}:"
|
||||
td.name
|
||||
= system_info
|
||||
tr class="#{cycle('odd', 'even')}"
|
||||
tr
|
||||
td.name
|
||||
= "#{l(:label_uptime)}:"
|
||||
td.name
|
||||
|
Loading…
Reference in New Issue
Block a user