Updated Ruby

Added CHANGELOG item
This commit is contained in:
Phil Hughes 2016-04-07 15:20:22 +01:00 committed by Jacob Schatz
parent 6416f8eab1
commit 4293485a22
2 changed files with 7 additions and 3 deletions

View File

@ -59,6 +59,7 @@ v 8.6.5
v 8.6.4
- Don't attempt to fetch any tags from a forked repo (Stan Hu)
- Redesign the Labels page
- Project switcher uses new dropdown styling
v 8.6.3
- Mentions on confidential issues doesn't create todos for non-members. !3374

View File

@ -66,10 +66,13 @@ module ProjectsHelper
end
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
full_title << ' &middot; '.html_safe + link_to(simple_sanitize(name), url) if name
if current_user
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
end