Commit a3ef844c authored by winniehell's avatar winniehell

fix star button icon alignment

parent 76aa85cc
- if current_user
= link_to toggle_star_namespace_project_path(@project.namespace, @project), { class: 'btn star-btn toggle-star has-tooltip', method: :post, remote: true, title: current_user.starred?(@project) ? 'Unstar project' : 'Star project' } do
- if current_user.starred?(@project)
= icon('star fw')
= icon('star')
%span.starred Unstar
- else
= icon('star-o fw')
= icon('star-o')
%span Star
%div.count-with-arrow
%span.arrow
......@@ -13,7 +13,7 @@
- else
= link_to new_user_session_path, class: 'btn has-tooltip star-btn', title: 'You must sign in to star a project' do
= icon('star fw')
= icon('star')
Star
%div.count-with-arrow
%span.arrow
......
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