fix rebase

This commit is contained in:
Dan Percic 2021-07-06 15:25:19 +03:00
parent fe8bc8826d
commit bd3c6377b4
4 changed files with 34 additions and 14 deletions

View File

@ -102,7 +102,7 @@
></redaction-user-button>
<mat-menu #userMenu="matMenu" xPosition="before">
<ng-container *ngFor="let item of userMenuItems">
<ng-container *ngFor="let item of userMenuItems; trackBy: trackByName">
<button
(click)="(item.action)"
*ngIf="item.show"

View File

@ -81,10 +81,6 @@ export class BaseScreenComponent {
this._userService.logout();
}
changeLanguage(language: string) {
this._languageService.changeLanguage(language);
}
trackByName(index: number, item: MenuItem) {
return item.name;
}

View File

@ -24,12 +24,12 @@
<div class="all-caps-label" translate="filter-menu.filter-types"></div>
<div class="actions">
<div
(click)="activateAllFilters(); $event.stopPropagation()"
(click)="activatePrimaryFilters(); $event.stopPropagation()"
class="all-caps-label primary pointer"
translate="actions.all"
></div>
<div
(click)="deactivateAllFilters(); $event.stopPropagation()"
(click)="deactivateFilters(); $event.stopPropagation()"
class="all-caps-label primary pointer"
translate="actions.none"
></div>

View File

@ -1271,6 +1271,34 @@
},
"title": "Configure SMTP Account"
},
"trash": {
"label": "Trash",
"table-header": {
"title": "{{length}} deleted dossiers",
"info": "Deleted items can be restored up to {{hours}} hours from their deletions"
},
"bulk": {
"delete": "Forever Delete Selected Dossiers",
"restore": "Restore Selected Dossiers"
},
"action": {
"delete": "Delete forever",
"restore": "Restore"
},
"search": "Search...",
"table-col-names": {
"name": "Name",
"owner": "Owner",
"deleted-on": "Deleted on",
"time-to-restore": "Time to restore"
},
"no-data": {
"title": "There are no dossiers yet."
},
"no-match": {
"title": "No dossiers match your current filters."
}
},
"sorting": {
"alphabetically": "Alphabetically",
"custom": "Custom",
@ -1289,13 +1317,9 @@
"children": {
"admin": "Settings",
"downloads": "My Downloads",
"language": {
"de": "German",
"en": "English",
"label": "Language"
},
"logout": "Logout",
"my-profile": "My Profile"
"my-profile": "My Profile",
"trash": "Trash",
"logout": "Logout"
}
}
}