diff options
author | Ciro Santilli <ciro.santilli@gmail.com> | 2014-07-14 15:17:59 +0200 |
---|---|---|
committer | Ciro Santilli <ciro.santilli@gmail.com> | 2014-07-17 22:47:16 +0200 |
commit | 9b5c7a4d6026265cfeaeac9ad5101f8826515dbe (patch) | |
tree | 18d795d222563b9c672aff1121b11022a32016b7 /app/views | |
parent | ecd771ccdfe54b08ea7f80f64667228b7938238d (diff) | |
download | gitlab-ce-9b5c7a4d6026265cfeaeac9ad5101f8826515dbe.tar.gz |
Add star count, view logic, more tests.
Diffstat (limited to 'app/views')
-rw-r--r-- | app/views/projects/_home_panel.html.haml | 2 |
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.', |