diff options
author | Ben Bodenmiller <bbodenmiller@hotmail.com> | 2014-11-09 03:37:56 -0800 |
---|---|---|
committer | Ben Bodenmiller <bbodenmiller@hotmail.com> | 2014-11-09 03:37:56 -0800 |
commit | 6ace931c3548aaa6c229c7f38191d128e6dc1362 (patch) | |
tree | 7c453dd505b3d5a9c19a3fd51938e62c10b293f2 | |
parent | 6641341b65d925a335e50f17a62a8a599ef54293 (diff) | |
download | gitlab-ce-6ace931c3548aaa6c229c7f38191d128e6dc1362.tar.gz |
make repo name link to repo homepage
-rw-r--r-- | CHANGELOG | 1 | ||||
-rw-r--r-- | app/helpers/projects_helper.rb | 4 |
2 files changed, 3 insertions, 2 deletions
diff --git a/CHANGELOG b/CHANGELOG index ff41575bcc6..dcf4c5cd369 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -3,6 +3,7 @@ v 7.5.0 - Add time zone configuration on gitlab.yml (Sullivan Senechal) - Fix LDAP authentication for Git HTTP access - Fix LDAP config lookup for provider 'ldap' + - Project title links to project homepage (Ben Bodenmiller) - Add Atlassian Bamboo CI service (Drew Blessing) - Mentioned @user will receive email even if he is not participating in issue or commit - Session API: Use case-insensitive authentication like in UI (Andrey Krivko) diff --git a/app/helpers/projects_helper.rb b/app/helpers/projects_helper.rb index 883c1f63af6..fb5470d98e5 100644 --- a/app/helpers/projects_helper.rb +++ b/app/helpers/projects_helper.rb @@ -42,12 +42,12 @@ module ProjectsHelper def project_title(project) if project.group content_tag :span do - link_to(simple_sanitize(project.group.name), group_path(project.group)) + " / " + project.name + link_to(simple_sanitize(project.group.name), group_path(project.group)) + ' / ' + link_to(simple_sanitize(project.name), project_path(project)) end else owner = project.namespace.owner content_tag :span do - link_to(simple_sanitize(owner.name), user_path(owner)) + " / " + project.name + link_to(simple_sanitize(owner.name), user_path(owner)) + ' / ' + link_to(simple_sanitize(project.name), project_path(project)) end end end |