rename module to reflect its generic use

This commit is contained in:
Reinier Balt 2014-07-17 15:19:17 +02:00
parent e0aec34df0
commit 2305a91324
3 changed files with 4 additions and 7 deletions

View file

@ -30,14 +30,14 @@ module ApplicationHelper
# a 'traffic light' colour code
#
def due_date(due)
return DueDateHelper::DueDateView.new(due, prefs).due_date_html
return DateLabelHelper::DueDateView.new(due, prefs).due_date_html
end
# Check due date in comparison to today's date Flag up date appropriately with
# a 'traffic light' colour code Modified method for mobile screen
#
def due_date_mobile(due)
return DueDateHelper::DueDateView.new(due, prefs).due_date_mobile_html
return DateLabelHelper::DueDateView.new(due, prefs).due_date_mobile_html
end
# Returns a count of next actions in the given context or project. The result