Refactor and restyle team page for project
This commit is contained in:
parent
e9d8d074a1
commit
a29db26cc9
11 changed files with 60 additions and 58 deletions
|
@ -26,6 +26,10 @@ class UserTeamProjectRelationship < ActiveRecord::Base
|
|||
user_team.name
|
||||
end
|
||||
|
||||
def human_max_access
|
||||
UserTeam.access_roles.key(greatest_access)
|
||||
end
|
||||
|
||||
private
|
||||
|
||||
def check_greatest_access
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue