Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/admin/projects/show.html.haml')
-rw-r--r--app/views/admin/projects/show.html.haml16
1 files changed, 12 insertions, 4 deletions
diff --git a/app/views/admin/projects/show.html.haml b/app/views/admin/projects/show.html.haml
index 0637b0eae47..85dce00752b 100644
--- a/app/views/admin/projects/show.html.haml
+++ b/app/views/admin/projects/show.html.haml
@@ -81,14 +81,20 @@
- if @project.repository.exists?
%li{ class: 'gl-px-5!' }
%span.light
- = _('Gitaly storage name:')
+ = s_('ProjectSettings|Storage name:')
%strong
= @project.repository.storage
+ %br
+ %small.gl-text-secondary
+ = s_('ProjectSettings|For Gitaly, name of the storage that stores the repository. For Gitaly Cluster, name of the virtual storage that stores the repository.')
%li{ class: 'gl-px-5!' }
%span.light
- = _('Gitaly relative path:')
+ = s_('ProjectSettings|Relative path:')
%strong
= @project.repository.relative_path
+ %br
+ %small.gl-text-secondary
+ = s_('ProjectSettings|For Gitaly, location of data on the storage. For Gitaly Cluster, location of data on the virtual storage.')
%li{ class: 'gl-px-5!' }
= render 'shared/storage_counter_statistics', storage_size: @project.statistics&.storage_size, storage_details: @project.statistics
@@ -125,8 +131,10 @@
%span.light
= _('access:')
%strong
- %span{ class: visibility_level_color(@project.visibility_level) }
- = visibility_level_icon(@project.visibility_level)
+ = visibility_level_content(@project, css_class: visibility_level_color(@project.visibility_level))
+ - if @project.created_and_owned_by_banned_user? && Feature.enabled?(:hide_projects_of_banned_users)
+ = _('This project is hidden because its creator has been banned')
+ - else
= visibility_level_label(@project.visibility_level)
= render 'shared/custom_attributes', custom_attributes: @project.custom_attributes