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:
authorGitLab Bot <gitlab-bot@gitlab.com>2023-08-22 09:09:46 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2023-08-22 09:09:46 +0300
commit8e223e1d8eab2c88857c18df8d4ec8e4c5544f3d (patch)
treeb5d7714fb68913c5ce585d9da4163df88c1efaa2 /app/assets/javascripts/admin
parentaadc349cb8930e266caffd99492e6b8fdea9b73c (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/assets/javascripts/admin')
-rw-r--r--app/assets/javascripts/admin/abuse_report/components/report_header.vue16
1 files changed, 4 insertions, 12 deletions
diff --git a/app/assets/javascripts/admin/abuse_report/components/report_header.vue b/app/assets/javascripts/admin/abuse_report/components/report_header.vue
index 624dcd47650..90c1943cb27 100644
--- a/app/assets/javascripts/admin/abuse_report/components/report_header.vue
+++ b/app/assets/javascripts/admin/abuse_report/components/report_header.vue
@@ -32,9 +32,6 @@ export default {
isOpen() {
return this.state === STATUS_OPEN;
},
- badgeClass() {
- return this.isOpen ? 'issuable-status-badge-open' : 'issuable-status-badge-closed';
- },
badgeVariant() {
return this.isOpen ? 'success' : 'info';
},
@@ -58,21 +55,16 @@ export default {
<header
class="gl-py-4 gl-border-b gl-display-flex gl-justify-content-space-between gl-xs-flex-direction-column"
>
- <div class="gl-display-flex gl-align-items-center">
- <gl-badge
- class="issuable-status-badge gl-mr-3"
- :class="badgeClass"
- :variant="badgeVariant"
- :aria-label="badgeText"
- >
+ <div class="gl-display-flex gl-align-items-center gl-gap-3">
+ <gl-badge :variant="badgeVariant" :aria-label="badgeText">
<gl-icon :name="badgeIcon" class="gl-badge-icon" />
<span class="gl-display-none gl-sm-display-block gl-ml-2">{{ badgeText }}</span>
</gl-badge>
<gl-avatar :size="48" :src="user.avatarUrl" />
- <h1 class="gl-font-size-h-display gl-my-0 gl-ml-3">
+ <h1 class="gl-font-size-h-display gl-my-0">
{{ user.name }}
</h1>
- <gl-link :href="user.path" class="gl-ml-3"> @{{ user.username }} </gl-link>
+ <gl-link :href="user.path"> @{{ user.username }} </gl-link>
</div>
<nav
class="gl-display-flex gl-sm-align-items-center gl-mt-4 gl-sm-mt-0 gl-xs-flex-direction-column"