summaryrefslogtreecommitdiff
path: root/app/views/projects/_home_panel.html.haml
diff options
context:
space:
mode:
authorCiro Santilli <ciro.santilli@gmail.com>2014-07-14 15:17:59 +0200
committerCiro Santilli <ciro.santilli@gmail.com>2014-07-17 22:47:16 +0200
commit9b5c7a4d6026265cfeaeac9ad5101f8826515dbe (patch)
tree18d795d222563b9c672aff1121b11022a32016b7 /app/views/projects/_home_panel.html.haml
parentecd771ccdfe54b08ea7f80f64667228b7938238d (diff)
downloadgitlab-ce-9b5c7a4d6026265cfeaeac9ad5101f8826515dbe.tar.gz
Add star count, view logic, more tests.
Diffstat (limited to 'app/views/projects/_home_panel.html.haml')
-rw-r--r--app/views/projects/_home_panel.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/_home_panel.html.haml b/app/views/projects/_home_panel.html.haml
index 48f5a90cf23..419b50a1141 100644
--- a/app/views/projects/_home_panel.html.haml
+++ b/app/views/projects/_home_panel.html.haml
@@ -34,7 +34,7 @@
= link_to pluralize(number_with_delimiter(@repository.branch_names.count), 'branch'), project_branches_path(@project)
= link_to pluralize(number_with_delimiter(@repository.tag_names.count), 'tag'), project_tags_path(@project)
%span.light.prepend-left-20= repository_size
- %span.star.js-toggler-container.on
+ %span.star.js-toggler-container{class: @show_star ? 'on' : ''}
- if current_user
= render 'link_to_toggle_star',
title: 'Star this project.',