project membership widget. css fixes

This commit is contained in:
Dmitriy Zaporozhets 2012-02-05 21:26:04 +02:00
parent 96b53a9f59
commit e64a174968
7 changed files with 54 additions and 41 deletions

View file

@ -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
#