Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnnabel Dunstone Gray <annabel.dunstone@gmail.com>2018-07-20 20:16:52 +0300
committerAnnabel Dunstone Gray <annabel.dunstone@gmail.com>2018-07-20 20:16:52 +0300
commitac893a8fc43305f8b6369d776a4a4d6be0ad635b (patch)
treea6dbdcaf2c7b5d0036113053cea2c5f791f88631 /app/views/projects/buttons
parentd15309cafd69f09fdae4f2027f3112451aa3489a (diff)
Remove extra whitespace in star project button
Diffstat (limited to 'app/views/projects/buttons')
-rw-r--r--app/views/projects/buttons/_star.html.haml2
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')