mirror of
https://github.com/TracksApp/tracks.git
synced 2025-12-16 15:20:13 +01:00
first version of review view
This commit is contained in:
parent
5f0bcebca9
commit
ac98737176
8 changed files with 82 additions and 5 deletions
|
|
@ -68,7 +68,8 @@ module ProjectsHelper
|
|||
end
|
||||
|
||||
def needsreview_class(item)
|
||||
### FIXME: need to check to do this with active projects only
|
||||
raise "item must be a Project " unless item.kind_of? Project
|
||||
|
||||
if item.needs_review?(current_user)
|
||||
return "needsreview"
|
||||
else
|
||||
|
|
@ -76,5 +77,4 @@ module ProjectsHelper
|
|||
end
|
||||
end
|
||||
|
||||
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue