Commit d7eb3145539222df4653fbe300d179a81b303517
1 parent
743073ce
Exists in
master
and in
4 other branches
Project titles with namespaces
Showing
2 changed files
with
10 additions
and
2 deletions
Show diff stats
app/helpers/projects_helper.rb
app/views/layouts/project_resource.html.haml
1 | 1 | !!! 5 |
2 | 2 | %html{ lang: "en"} |
3 | - = render "layouts/head", title: @project.name | |
3 | + = render "layouts/head", title: @project.name_with_namespace | |
4 | 4 | %body{class: "#{app_theme} project"} |
5 | 5 | = render "layouts/flash" |
6 | - = render "layouts/head_panel", title: @project.name | |
6 | + = render "layouts/head_panel", title: project_title(@project) | |
7 | 7 | - if can?(current_user, :download_code, @project) |
8 | 8 | = render 'shared/no_ssh' |
9 | 9 | .container | ... | ... |