diff options
author | Luke "Jared" Bennett <lbennett@gitlab.com> | 2016-06-09 18:06:13 +0300 |
---|---|---|
committer | Luke "Jared" Bennett <lbennett@gitlab.com> | 2016-06-10 18:55:13 +0300 |
commit | b36d84b32912bada57d8d6af9df64cb0a2478f7c (patch) | |
tree | 349c32d8fae8ad2b834f12615fef9ba50444a6e1 /app/views/shared/projects | |
parent | bedb711453d618e16bccc1e150d7a6437d8342d0 (diff) |
Moved private forks notice to projects-list so its above the pagination and inline with list
Updated CHANGELOG
Removed CHANGELOG entry
Diffstat (limited to 'app/views/shared/projects')
-rw-r--r-- | app/views/shared/projects/_list.html.haml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/app/views/shared/projects/_list.html.haml b/app/views/shared/projects/_list.html.haml index 2e08bb2ac08..3a9dd37dc7d 100644 --- a/app/views/shared/projects/_list.html.haml +++ b/app/views/shared/projects/_list.html.haml @@ -16,6 +16,12 @@ = render "shared/projects/project", project: project, skip_namespace: skip_namespace, avatar: avatar, stars: stars, css_class: css_class, ci: ci, use_creator_avatar: use_creator_avatar, forks: forks, show_last_commit_as_description: show_last_commit_as_description + + - if @private_forks_count && @private_forks_count > 0 + %li.project-row.private-forks-notice + = icon('lock fw', base: 'circle', class: 'fa-lg private-fork-icon') + %strong= pluralize(@private_forks_count, 'private fork') + %span you have no access to. = paginate(projects, remote: remote, theme: "gitlab") if projects.respond_to? :total_pages - else .nothing-here-block No projects found |