Project titles with namespaces
This commit is contained in:
parent
743073ce5f
commit
d7eb314553
2 changed files with 10 additions and 2 deletions
|
@ -23,4 +23,12 @@ module ProjectsHelper
|
|||
def tm_path team_member
|
||||
project_team_member_path(@project, team_member)
|
||||
end
|
||||
|
||||
def project_title project
|
||||
if project.group
|
||||
project.name_with_namespace
|
||||
else
|
||||
project.name
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue