Issues & MR legend
This commit is contained in:
parent
b64ceadbf2
commit
75cf927d3b
10 changed files with 158 additions and 9 deletions
|
@ -93,6 +93,10 @@ class MergeRequest < ActiveRecord::Base
|
|||
self.save
|
||||
end
|
||||
|
||||
def today?
|
||||
Date.today == created_at.to_date
|
||||
end
|
||||
|
||||
def new?
|
||||
today? && created_at == updated_at
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue