diff options
author | Annabel Dunstone Gray <annabel.dunstone@gmail.com> | 2018-07-20 12:16:52 -0500 |
---|---|---|
committer | Annabel Dunstone Gray <annabel.dunstone@gmail.com> | 2018-07-20 12:16:52 -0500 |
commit | ac893a8fc43305f8b6369d776a4a4d6be0ad635b (patch) | |
tree | a6dbdcaf2c7b5d0036113053cea2c5f791f88631 /app | |
parent | d15309cafd69f09fdae4f2027f3112451aa3489a (diff) | |
download | gitlab-ce-ac893a8fc43305f8b6369d776a4a4d6be0ad635b.tar.gz |
Remove extra whitespace in star project button
Diffstat (limited to 'app')
-rw-r--r-- | app/views/projects/buttons/_star.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/buttons/_star.html.haml b/app/views/projects/buttons/_star.html.haml index d8b4266143e..a2dc2730ecc 100644 --- a/app/views/projects/buttons/_star.html.haml +++ b/app/views/projects/buttons/_star.html.haml @@ -1,5 +1,5 @@ - if current_user - %button.btn.btn-default.star-btn.toggle-star{ type: "button", data: { endpoint: toggle_star_project_path(@project, :json) } } + %button.btn.btn-default.star-btn.toggle-star{ type: "button", data: { endpoint: toggle_star_project_path(@project, :json) } }> - if current_user.starred?(@project) = sprite_icon('star') %span.starred= _('Unstar') |