Commit b79d9e80 authored by Phil Hughes's avatar Phil Hughes

Uses icon helper for dropdown toggle icon

parent 0a094cb1
......@@ -70,7 +70,7 @@ module ProjectsHelper
link_output
end
project_link += content_tag :span, nil, { class: "fa fa-chevron-down dropdown-toggle-caret js-projects-dropdown-toggle" } if current_user
project_link += icon "chevron-down", class: "dropdown-toggle-caret js-projects-dropdown-toggle" if current_user
full_title = namespace_link + ' / ' + project_link
full_title += ' · '.html_safe + link_to(simple_sanitize(name), url) if name
......
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