diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-06-17 13:07:47 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-06-17 13:07:47 +0300 |
commit | d670c3006e6e44901bce0d53cc4768d1d80ffa92 (patch) | |
tree | 8f65743c232e5b76850c4cc264ba15e1185815ff /app/views/admin | |
parent | a5f4bba440d7f9ea47046a0a561d49adf0a1e6d4 (diff) |
Add latest changes from gitlab-org/gitlab@14-0-stable-ee
Diffstat (limited to 'app/views/admin')
-rw-r--r-- | app/views/admin/cohorts/_cohorts.html.haml (renamed from app/views/admin/users/_cohorts.html.haml) | 0 | ||||
-rw-r--r-- | app/views/admin/cohorts/_cohorts_table.html.haml (renamed from app/views/admin/users/_cohorts_table.html.haml) | 0 | ||||
-rw-r--r-- | app/views/admin/cohorts/index.html.haml (renamed from app/views/admin/users/cohorts.html.haml) | 2 | ||||
-rw-r--r-- | app/views/admin/runners/show.html.haml | 14 | ||||
-rw-r--r-- | app/views/admin/users/_tabs.html.haml | 2 |
5 files changed, 10 insertions, 8 deletions
diff --git a/app/views/admin/users/_cohorts.html.haml b/app/views/admin/cohorts/_cohorts.html.haml index 25b30adc5be..25b30adc5be 100644 --- a/app/views/admin/users/_cohorts.html.haml +++ b/app/views/admin/cohorts/_cohorts.html.haml diff --git a/app/views/admin/users/_cohorts_table.html.haml b/app/views/admin/cohorts/_cohorts_table.html.haml index a92cfb5851a..a92cfb5851a 100644 --- a/app/views/admin/users/_cohorts_table.html.haml +++ b/app/views/admin/cohorts/_cohorts_table.html.haml diff --git a/app/views/admin/users/cohorts.html.haml b/app/views/admin/cohorts/index.html.haml index 3f3d22fa410..7ba4cd6d733 100644 --- a/app/views/admin/users/cohorts.html.haml +++ b/app/views/admin/cohorts/index.html.haml @@ -1,6 +1,6 @@ - page_title _("Users") -= render 'tabs' += render 'admin/users/tabs' .tab-content .tab-pane.active diff --git a/app/views/admin/runners/show.html.haml b/app/views/admin/runners/show.html.haml index d03a782756b..6f3c16f7abf 100644 --- a/app/views/admin/runners/show.html.haml +++ b/app/views/admin/runners/show.html.haml @@ -28,12 +28,14 @@ %tr %td .gl-alert.gl-alert-danger - = sprite_icon('error', size: 16, css_class: 'gl-icon gl-alert-icon gl-alert-icon-no-title') - .gl-alert-body - %strong - = project.full_name - .gl-alert-actions - = link_to s_('Disable'), admin_namespace_project_runner_project_path(project.namespace, project, runner_project), method: :delete, class: 'btn gl-alert-action btn-info btn-md gl-button' + .gl-alert-container + = sprite_icon('error', size: 16, css_class: 'gl-icon gl-alert-icon gl-alert-icon-no-title') + .gl-alert-content + .gl-alert-body + %strong + = project.full_name + .gl-alert-actions + = link_to s_('Disable'), admin_namespace_project_runner_project_path(project.namespace, project, runner_project), method: :delete, class: 'btn gl-alert-action btn-confirm btn-md gl-button' %table.table{ data: { testid: 'unassigned-projects' } } %thead diff --git a/app/views/admin/users/_tabs.html.haml b/app/views/admin/users/_tabs.html.haml index 1a3239897eb..90f06eeaf3f 100644 --- a/app/views/admin/users/_tabs.html.haml +++ b/app/views/admin/users/_tabs.html.haml @@ -3,5 +3,5 @@ %a.nav-link{ href: admin_users_path, class: active_when(current_page?(admin_users_path)), role: 'tab' } = s_('AdminUsers|Users') %li.nav-item{ role: 'presentation' } - %a.nav-link{ href: cohorts_admin_users_path, class: active_when(current_page?(cohorts_admin_users_path)), role: 'tab' } + %a.nav-link{ href: admin_cohorts_path, class: active_when(current_page?(admin_cohorts_path)), role: 'tab' } = s_('AdminUsers|Cohorts') |