Skip to content

Commit fbfa0ea

Browse files
feat: improve admin ui (#104)
* feat: improve admin ui * fix: make admin colors align with the settings module
1 parent 40e719d commit fbfa0ea

File tree

2 files changed

+14
-5
lines changed

2 files changed

+14
-5
lines changed

src/Resources/app/administration/src/module/frosh-mail-archive/index.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Shopware.Module.register('frosh-mail-archive', {
77
name: 'frosh-mail-archive.title',
88
title: 'frosh-mail-archive.title',
99
description: '',
10-
color: '#243758',
10+
color: '#9AA8B5',
1111
icon: 'regular-envelope',
1212
entity: 'frosh_mail_archive',
1313

@@ -16,7 +16,8 @@ Shopware.Module.register('frosh-mail-archive', {
1616
component: 'frosh-mail-archive-index',
1717
path: 'list',
1818
meta: {
19-
privilege: 'frosh_mail_archive:read'
19+
privilege: 'frosh_mail_archive:read',
20+
parentPath: 'sw.settings.index.plugins'
2021
},
2122
},
2223
detail: {

src/Resources/app/administration/src/module/frosh-mail-archive/page/frosh-mail-archive-index/frosh-mail-archive-index.twig

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,14 @@
77
</sw-search-bar>
88
</template>
99
<template #smart-bar-header>
10-
<h2>{{ $tc('frosh-mail-archive.title') }}</h2>
10+
<h2>
11+
{{ $tc('sw-settings.index.title') }}
12+
<sw-icon
13+
name="regular-chevron-right-xs"
14+
small
15+
/>
16+
{{ $tc('frosh-mail-archive.title') }}
17+
</h2>
1118
</template>
1219
<template #content>
1320
<sw-entity-listing
@@ -25,8 +32,9 @@
2532
</span>
2633
</template>
2734

28-
<template #column-createdAt="{ item }">
29-
{{ date(item.createdAt, {hour: '2-digit', minute: '2-digit', second: '2-digit'}) }}
35+
<template #column-createdAt="{ item, column }">
36+
<router-link
37+
:to="{ name: column.routerLink, params: { id: item.id } }">{{ date(item.createdAt, {hour: '2-digit', minute: '2-digit', second: '2-digit'}) }}</router-link>
3038
</template>
3139

3240
<template #column-transportState="{ item }">

0 commit comments

Comments
 (0)