project membership widget. css fixes
This commit is contained in:
parent
96b53a9f59
commit
e64a174968
7 changed files with 54 additions and 41 deletions
|
@ -32,6 +32,14 @@ class UsersProject < ActiveRecord::Base
|
|||
c.update_project(project.path, project)
|
||||
end
|
||||
end
|
||||
|
||||
def project_access_human
|
||||
Project.access_options.key(self.project_access)
|
||||
end
|
||||
|
||||
def repo_access_human
|
||||
Repository.access_options.key(self.repo_access)
|
||||
end
|
||||
end
|
||||
# == Schema Information
|
||||
#
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue