diff options
Diffstat (limited to 'app/views/groups/projects.html.haml')
-rw-r--r-- | app/views/groups/projects.html.haml | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/app/views/groups/projects.html.haml b/app/views/groups/projects.html.haml index 2f2edec2d80..050c5135344 100644 --- a/app/views/groups/projects.html.haml +++ b/app/views/groups/projects.html.haml @@ -19,8 +19,7 @@ %ul.content-list{ class: 'gl-px-3!' } - @projects.each do |project| %li.project-row.gl-align-items-center{ class: 'gl-display-flex!' } - .avatar-container.rect-avatar.s40.gl-flex-shrink-0 - = project_icon(project, alt: '', class: 'avatar project-avatar s40', width: 40, height: 40) + = render Pajamas::AvatarComponent.new(project, alt: project.name, size: 48, class: 'gl-flex-shrink-0 gl-mr-5') .gl-min-w-0.gl-flex-grow-1 .title = link_to project_path(project), class: 'js-prefetch-document' do @@ -29,7 +28,7 @@ - if project.namespace = project.namespace.human_name \/ - %span.project-name{ data: { qa_selector: 'project_name_content', qa_project_name: project.name } } + %span.project-name = project.name = visibility_level_content(project, css_class: 'visibility-icon gl-text-secondary gl-ml-2', icon_css_class: 'icon') |