mirror of
https://github.com/TracksApp/tracks.git
synced 2026-01-10 03:08:50 +01:00
Applied Luke's patch (#167) for the staleness colouring bug in Apache.
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@168 a4c988fc-2ded-0310-b66e-134b36920a42
This commit is contained in:
parent
7d33019265
commit
a07ae7b2b3
1 changed files with 1 additions and 1 deletions
|
|
@ -77,7 +77,7 @@ module TodoHelper
|
|||
# * l3: created more than 3 x staleness_starts
|
||||
#
|
||||
def staleness_class(item)
|
||||
if item.due || item.done
|
||||
if item.due || item.done?
|
||||
return ""
|
||||
elsif item.created_at < (ApplicationController::STALENESS_STARTS*3).days.ago
|
||||
return " stale_l3"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue