summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-07-09 11:00:14 +0200
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2015-07-09 11:00:14 +0200
commit3cdd68475f80c43371610c981b41cd3dc87e3300 (patch)
tree53157cee1bb25d5ccde3721ec68f5d20bc14946b
parente49f1a274a9bb6cf979f67044173d47c26c65519 (diff)
downloadgitlab-ce-3cdd68475f80c43371610c981b41cd3dc87e3300.tar.gz
Add star icon to star button
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
-rw-r--r--app/views/projects/buttons/_star.html.haml1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/views/projects/buttons/_star.html.haml b/app/views/projects/buttons/_star.html.haml
index 664ebd18295..b5f14b43bfd 100644
--- a/app/views/projects/buttons/_star.html.haml
+++ b/app/views/projects/buttons/_star.html.haml
@@ -1,5 +1,6 @@
- if current_user
= link_to toggle_star_namespace_project_path(@project.namespace, @project), class: 'btn star-btn toggle-star', method: :post, remote: true do
+ = icon('star')
- if current_user.starred?(@project)
Unstar
- else