Commit 4293485a authored by Phil Hughes's avatar Phil Hughes Committed by Jacob Schatz

Updated Ruby

Added CHANGELOG item
parent 6416f8ea
...@@ -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
......
...@@ -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 << ' &middot; '.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 << ' &middot; '.html_safe << link_to(simple_sanitize(name), url) if name
full_title full_title
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment