summaryrefslogtreecommitdiff
path: root/app/views
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2018-07-23 07:30:12 +0000
committerPhil Hughes <me@iamphill.com>2018-07-23 07:30:12 +0000
commitdc4c6cbe329c60374862c357dc36bc5a86fea8d3 (patch)
tree4cdc2f6bcebdd631c577d53ab54800f55a6f47c7 /app/views
parentdc7b4b7bb97ead6fca1eefad5f56c8db5db00f93 (diff)
parentac893a8fc43305f8b6369d776a4a4d6be0ad635b (diff)
downloadgitlab-ce-dc4c6cbe329c60374862c357dc36bc5a86fea8d3.tar.gz
Merge branch '46126-project-counters-space' into 'master'
Resolve "Uneven spaces between project page counters" Closes #46126 See merge request gitlab-org/gitlab-ce!20753
Diffstat (limited to 'app/views')
-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')