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
0
Merge Requests
0
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
Boxiang Sun
gitlab-ce
Commits
4293485a
Commit
4293485a
authored
Apr 07, 2016
by
Phil Hughes
Committed by
Jacob Schatz
Apr 12, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Updated Ruby
Added CHANGELOG item
parent
6416f8ea
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
3 deletions
+7
-3
CHANGELOG
CHANGELOG
+1
-0
app/helpers/projects_helper.rb
app/helpers/projects_helper.rb
+6
-3
No files found.
CHANGELOG
View file @
4293485a
...
@@ -59,6 +59,7 @@ v 8.6.5
...
@@ -59,6 +59,7 @@ v 8.6.5
v 8.6.4
v 8.6.4
- Don't attempt to fetch any tags from a forked repo (Stan Hu)
- Don't attempt to fetch any tags from a forked repo (Stan Hu)
- Redesign the Labels page
- Redesign the Labels page
- Project switcher uses new dropdown styling
v 8.6.3
v 8.6.3
- Mentions on confidential issues doesn't create todos for non-members. !3374
- Mentions on confidential issues doesn't create todos for non-members. !3374
...
...
app/helpers/projects_helper.rb
View file @
4293485a
...
@@ -66,10 +66,13 @@ module ProjectsHelper
...
@@ -66,10 +66,13 @@ module ProjectsHelper
end
end
project_link
=
link_to
simple_sanitize
(
project
.
name
),
project_path
(
project
),
{
class:
"project-item-select-holder"
}
project_link
=
link_to
simple_sanitize
(
project
.
name
),
project_path
(
project
),
{
class:
"project-item-select-holder"
}
project_link
<<
icon
(
"chevron-down"
,
class:
"dropdown-toggle-caret js-projects-dropdown-toggle"
,
data:
{
target:
".js-dropdown-menu-projects"
,
toggle:
"dropdown"
})
if
current_user
full_title
=
namespace_link
+
' / '
+
project_link
if
current_user
full_title
<<
' · '
.
html_safe
+
link_to
(
simple_sanitize
(
name
),
url
)
if
name
project_link
<<
icon
(
"chevron-down"
,
class:
"dropdown-toggle-caret js-projects-dropdown-toggle"
,
data:
{
target:
".js-dropdown-menu-projects"
,
toggle:
"dropdown"
})
end
full_title
=
namespace_link
+
' / '
<<
project_link
full_title
<<
' · '
.
html_safe
<<
link_to
(
simple_sanitize
(
name
),
url
)
if
name
full_title
full_title
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