Skip to content
Snippets Groups Projects
Commit 8631ca5a authored by winniehell's avatar winniehell
Browse files

fix star button icon alignment

parent a8bbeb48
No related merge requests found
- 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
Loading
Loading
@@ -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
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment