diff options
author | Camil Staps <info@camilstaps.nl> | 2019-02-02 20:22:19 +0100 |
---|---|---|
committer | Camil Staps <info@camilstaps.nl> | 2019-08-07 20:49:16 +0200 |
commit | 50f5f2e8aebf7ea3cdc9b2d133c9246925f749c4 (patch) | |
tree | 5e60baacc5e040aa917390bca651c1aacc8b91c6 /app/views/projects/starrers/index.html.haml | |
parent | 66032506b54dc4a9fcce99d2053a65cbaa02d2a2 (diff) | |
download | gitlab-ce-50f5f2e8aebf7ea3cdc9b2d133c9246925f749c4.tar.gz |
Remove private profiles from starrers view of projects
Diffstat (limited to 'app/views/projects/starrers/index.html.haml')
-rw-r--r-- | app/views/projects/starrers/index.html.haml | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/app/views/projects/starrers/index.html.haml b/app/views/projects/starrers/index.html.haml index 5d5fb9d74b2..c6665ce1183 100644 --- a/app/views/projects/starrers/index.html.haml +++ b/app/views/projects/starrers/index.html.haml @@ -2,9 +2,8 @@ .top-area.adjust .nav-text - %span.flex-project-title - = _("Starrers of <strong>%{project_name}</strong>").html_safe % { project_name: sanitize_project_name(@project.name) } - %span.badge.badge-pill= @starrers.total_count + - full_count_title = "#{@public_count} public and #{@private_count} private" + #{pluralize(@total_count, 'starrer')}: #{full_count_title} - if @starrers.size > 0 || params[:search].present? .nav-controls = form_tag request.original_url, method: :get, class: 'form-inline user-search-form flex-users-form' do |