mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-09-10 14:11:17 +00:00
fix for config files
This commit is contained in:
@@ -46,39 +46,32 @@
|
||||
"features": {
|
||||
"header": [
|
||||
{
|
||||
"id": "app.header.user",
|
||||
"id": "app.user.menu",
|
||||
"type": "custom",
|
||||
"component": "app.user",
|
||||
"component": "app.user.menu",
|
||||
"order": 100
|
||||
}
|
||||
],
|
||||
"moreMenu": [
|
||||
{
|
||||
"id": "app.languagePicker",
|
||||
"order": 100,
|
||||
"type": "custom",
|
||||
"component": "app.languagePicker"
|
||||
},
|
||||
{
|
||||
"id": "app.header.more",
|
||||
"type": "menu",
|
||||
"order": 10000,
|
||||
"icon": "more_vert",
|
||||
"title": "APP.ACTIONS.MORE",
|
||||
"children": [
|
||||
{
|
||||
"id": "app.languagePicker",
|
||||
"order": 100,
|
||||
"type": "custom",
|
||||
"component": "app.languagePicker"
|
||||
},
|
||||
{
|
||||
"id": "logout.separator",
|
||||
"type": "separator",
|
||||
"order": 199
|
||||
},
|
||||
{
|
||||
"id": "app.logout",
|
||||
"order": 200,
|
||||
"type": "custom",
|
||||
"component": "app.logout",
|
||||
"rules": {
|
||||
"visible": "app.canShowLogout"
|
||||
}
|
||||
}
|
||||
]
|
||||
"id": "logout.separator",
|
||||
"type": "separator",
|
||||
"order": 199
|
||||
},
|
||||
{
|
||||
"id": "app.logout",
|
||||
"order": 200,
|
||||
"type": "custom",
|
||||
"component": "app.logout",
|
||||
"rules": {
|
||||
"visible": "app.canShowLogout"
|
||||
}
|
||||
}
|
||||
],
|
||||
"icons": [
|
||||
|
@@ -46,39 +46,32 @@
|
||||
"features": {
|
||||
"header": [
|
||||
{
|
||||
"id": "app.header.user",
|
||||
"id": "app.user.menu",
|
||||
"type": "custom",
|
||||
"component": "app.user",
|
||||
"component": "app.user.menu",
|
||||
"order": 100
|
||||
}
|
||||
],
|
||||
"moreMenu": [
|
||||
{
|
||||
"id": "app.languagePicker",
|
||||
"order": 100,
|
||||
"type": "custom",
|
||||
"component": "app.languagePicker"
|
||||
},
|
||||
{
|
||||
"id": "app.header.more",
|
||||
"type": "menu",
|
||||
"order": 10000,
|
||||
"icon": "more_vert",
|
||||
"title": "APP.ACTIONS.MORE",
|
||||
"children": [
|
||||
{
|
||||
"id": "app.languagePicker",
|
||||
"order": 100,
|
||||
"type": "custom",
|
||||
"component": "app.languagePicker"
|
||||
},
|
||||
{
|
||||
"id": "logout.separator",
|
||||
"type": "separator",
|
||||
"order": 199
|
||||
},
|
||||
{
|
||||
"id": "app.logout",
|
||||
"order": 200,
|
||||
"type": "custom",
|
||||
"component": "app.logout",
|
||||
"rules": {
|
||||
"visible": "app.canShowLogout"
|
||||
}
|
||||
}
|
||||
]
|
||||
"id": "logout.separator",
|
||||
"type": "separator",
|
||||
"order": 199
|
||||
},
|
||||
{
|
||||
"id": "app.logout",
|
||||
"order": 200,
|
||||
"type": "custom",
|
||||
"component": "app.logout",
|
||||
"rules": {
|
||||
"visible": "app.canShowLogout"
|
||||
}
|
||||
}
|
||||
],
|
||||
"icons": [
|
||||
|
@@ -46,39 +46,32 @@
|
||||
"features": {
|
||||
"header": [
|
||||
{
|
||||
"id": "app.header.user",
|
||||
"id": "app.user.menu",
|
||||
"type": "custom",
|
||||
"component": "app.user",
|
||||
"component": "app.user.menu",
|
||||
"order": 100
|
||||
}
|
||||
],
|
||||
"moreMenu": [
|
||||
{
|
||||
"id": "app.languagePicker",
|
||||
"order": 100,
|
||||
"type": "custom",
|
||||
"component": "app.languagePicker"
|
||||
},
|
||||
{
|
||||
"id": "app.header.more",
|
||||
"type": "menu",
|
||||
"order": 10000,
|
||||
"icon": "more_vert",
|
||||
"title": "APP.ACTIONS.MORE",
|
||||
"children": [
|
||||
{
|
||||
"id": "app.languagePicker",
|
||||
"order": 100,
|
||||
"type": "custom",
|
||||
"component": "app.languagePicker"
|
||||
},
|
||||
{
|
||||
"id": "logout.separator",
|
||||
"type": "separator",
|
||||
"order": 199
|
||||
},
|
||||
{
|
||||
"id": "app.logout",
|
||||
"order": 200,
|
||||
"type": "custom",
|
||||
"component": "app.logout",
|
||||
"rules": {
|
||||
"visible": "app.canShowLogout"
|
||||
}
|
||||
}
|
||||
]
|
||||
"id": "logout.separator",
|
||||
"type": "separator",
|
||||
"order": 199
|
||||
},
|
||||
{
|
||||
"id": "app.logout",
|
||||
"order": 200,
|
||||
"type": "custom",
|
||||
"component": "app.logout",
|
||||
"rules": {
|
||||
"visible": "app.canShowLogout"
|
||||
}
|
||||
}
|
||||
],
|
||||
"icons": [
|
||||
|
@@ -46,39 +46,32 @@
|
||||
"features": {
|
||||
"header": [
|
||||
{
|
||||
"id": "app.header.user",
|
||||
"id": "app.user.menu",
|
||||
"type": "custom",
|
||||
"component": "app.user",
|
||||
"component": "app.user.menu",
|
||||
"order": 100
|
||||
}
|
||||
],
|
||||
"moreMenu": [
|
||||
{
|
||||
"id": "app.languagePicker",
|
||||
"order": 100,
|
||||
"type": "custom",
|
||||
"component": "app.languagePicker"
|
||||
},
|
||||
{
|
||||
"id": "app.header.more",
|
||||
"type": "menu",
|
||||
"order": 10000,
|
||||
"icon": "more_vert",
|
||||
"title": "APP.ACTIONS.MORE",
|
||||
"children": [
|
||||
{
|
||||
"id": "app.languagePicker",
|
||||
"order": 100,
|
||||
"type": "custom",
|
||||
"component": "app.languagePicker"
|
||||
},
|
||||
{
|
||||
"id": "logout.separator",
|
||||
"type": "separator",
|
||||
"order": 199
|
||||
},
|
||||
{
|
||||
"id": "app.logout",
|
||||
"order": 200,
|
||||
"type": "custom",
|
||||
"component": "app.logout",
|
||||
"rules": {
|
||||
"visible": "app.canShowLogout"
|
||||
}
|
||||
}
|
||||
]
|
||||
"id": "logout.separator",
|
||||
"type": "separator",
|
||||
"order": 199
|
||||
},
|
||||
{
|
||||
"id": "app.logout",
|
||||
"order": 200,
|
||||
"type": "custom",
|
||||
"component": "app.logout",
|
||||
"rules": {
|
||||
"visible": "app.canShowLogout"
|
||||
}
|
||||
}
|
||||
],
|
||||
"icons": [
|
||||
|
@@ -1,14 +1,14 @@
|
||||
<button mat-button class="aca-menu-user-details-button" [matMenuTriggerFor]="menu">
|
||||
<button mat-button class="aca-user-menu-button" [matMenuTriggerFor]="menu">
|
||||
<div>{{ (displayName$ | async)?.initials }}</div>
|
||||
</button>
|
||||
|
||||
<mat-menu #menu="matMenu" xPosition="before">
|
||||
<div mat-menu-item class="aca-menu-user-details" [routerLink]="['/profile']"
|
||||
<div mat-menu-item class="aca-user-menu" [routerLink]="['/profile']"
|
||||
title="{{'APP.TOOLTIPS.MY_PROFILE' | translate}}">
|
||||
<button class="aca-menu-user-details-button">
|
||||
<button class="aca-user-menu-button">
|
||||
<div>{{ (displayName$ | async)?.initials }}</div>
|
||||
</button>
|
||||
<div class="aca-menu-user-details-name-email">
|
||||
<div class="aca-user-menu-name-email">
|
||||
<div>{{ (displayName$ | async)?.firstName }}</div>
|
||||
<div>{{ (displayName$ | async)?.email }}</div>
|
||||
</div>
|
||||
|
@@ -1,4 +1,4 @@
|
||||
.aca-menu-user-details {
|
||||
.aca-user-menu {
|
||||
display: flex;
|
||||
height: 66px;
|
||||
align-items: center;
|
||||
|
@@ -33,7 +33,7 @@ import { BrowserActions } from '@alfresco/adf-testing';
|
||||
|
||||
export class Header extends Component {
|
||||
logoLink = this.byCss('.app-menu__title');
|
||||
moreActions = this.byCss('.aca-menu-user-details-button');
|
||||
moreActions = this.byCss('.aca-user-menu-button');
|
||||
sidenavToggle = this.byCss(`.sidenav-header-title-logo`);
|
||||
|
||||
userInfo = new UserInfo();
|
||||
|
Reference in New Issue
Block a user