Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
ec1b4738
Commit
ec1b4738
authored
Nov 10, 2014
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #8107 from bbodenmiller/patch-16
Make project title link to project homepage
parents
70f30abd
6ace931c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
CHANGELOG
CHANGELOG
+1
-0
app/helpers/projects_helper.rb
app/helpers/projects_helper.rb
+2
-2
No files found.
CHANGELOG
View file @
ec1b4738
...
...
@@ -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)
...
...
app/helpers/projects_helper.rb
View file @
ec1b4738
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment