-
diff --git a/web/src/app/administration/components/filter/filter.component.scss b/web/src/app/administration/components/filter/filter.component.scss
index e4ea8143e..f307786bb 100644
--- a/web/src/app/administration/components/filter/filter.component.scss
+++ b/web/src/app/administration/components/filter/filter.component.scss
@@ -5,10 +5,6 @@
margin-left: 15px;
}
-.btn-users-list {
- border: 0px solid transparent;
-}
-
.list-group-search {
padding: 0px 15px;
border-top: 1px solid #ddd;
diff --git a/web/src/app/administration/components/filter/filter.component.ts b/web/src/app/administration/components/filter/filter.component.ts
index c21886297..f4285a00e 100644
--- a/web/src/app/administration/components/filter/filter.component.ts
+++ b/web/src/app/administration/components/filter/filter.component.ts
@@ -23,7 +23,8 @@ export class FilterComponent {
toggleDropDown = false;
constructor() {
- this.allTypes = IconTypeComponent.allTypes;
+ this.allTypes = new Map([['ALL', 'All'], ['PERSONAL', 'Personal'], ['GROUP', 'Group'],
+ ['CLEARANCE', 'Clearance'], ['TOPIC', 'Topic']]);
}
selectType(type: ICONTYPES) {
diff --git a/web/src/app/administration/components/type-icon/icon-type.component.html b/web/src/app/administration/components/type-icon/icon-type.component.html
index a5c4e78d3..b2a42a338 100644
--- a/web/src/app/administration/components/type-icon/icon-type.component.html
+++ b/web/src/app/administration/components/type-icon/icon-type.component.html
@@ -1,4 +1,2 @@
-
-
-
-
+
+{{text}}
\ No newline at end of file
diff --git a/web/src/app/administration/components/type-icon/icon-type.component.ts b/web/src/app/administration/components/type-icon/icon-type.component.ts
index fdab3993d..cd46b3272 100644
--- a/web/src/app/administration/components/type-icon/icon-type.component.ts
+++ b/web/src/app/administration/components/type-icon/icon-type.component.ts
@@ -10,7 +10,7 @@ export class IconTypeComponent implements OnInit {
@Input()
- type: ICONTYPES = ICONTYPES.PERSONAL;
+ type: ICONTYPES = ICONTYPES.ALL;
@Input()
selected = false;
@@ -18,8 +18,11 @@ export class IconTypeComponent implements OnInit {
@Input()
tooltip = false;
+ @Input()
+ text = '';
+
public static get allTypes(): Map
{
- return new Map([['', 'None'], ['PERSONAL', 'Personal'], ['GROUP', 'Group'], ['CLEARANCE', 'Clearance'], ['TOPIC', 'Topic']])
+ return new Map([ ['PERSONAL', 'Personal'], ['GROUP', 'Group'], ['CLEARANCE', 'Clearance'], ['TOPIC', 'Topic']])
};
constructor() { }
@@ -36,7 +39,7 @@ export class IconTypeComponent implements OnInit {
type === 'EXTERNAL' ? 'external.svg' :
type === 'AUTOMATIC' ? 'automatic.svg' :
type === 'MANUAL' ? 'manual.svg' :
- type === 'CLOSED' ? 'closed.svg' : '';
+ type === 'CLOSED' ? 'closed.svg' : 'asterisk.svg';
}
}
diff --git a/web/src/app/administration/workbasket/details/information/workbasket-information.component.html b/web/src/app/administration/workbasket/details/information/workbasket-information.component.html
index 0daeb22da..99d0f2964 100644
--- a/web/src/app/administration/workbasket/details/information/workbasket-information.component.html
+++ b/web/src/app/administration/workbasket/details/information/workbasket-information.component.html
@@ -65,8 +65,7 @@
diff --git a/web/src/app/administration/workbasket/details/information/workbasket-information.component.ts b/web/src/app/administration/workbasket/details/information/workbasket-information.component.ts
index b5366012e..9f00b07ac 100644
--- a/web/src/app/administration/workbasket/details/information/workbasket-information.component.ts
+++ b/web/src/app/administration/workbasket/details/information/workbasket-information.component.ts
@@ -54,7 +54,9 @@ export class WorkbasketInformationComponent implements OnInit, OnChanges, OnDest
private savingWorkbasket: SavingWorkbasketService,
private requestInProgressService: RequestInProgressService,
private customFieldsService: CustomFieldsService) {
- this.allTypes = IconTypeComponent.allTypes;
+ this.allTypes = new Map([['PERSONAL', 'Personal'], ['GROUP', 'Group'],
+ ['CLEARANCE', 'Clearance'], ['TOPIC', 'Topic']])
+
}
ngOnInit(): void {
diff --git a/web/src/app/models/type.ts b/web/src/app/models/type.ts
index 30f1878e5..9a3720a4d 100644
--- a/web/src/app/models/type.ts
+++ b/web/src/app/models/type.ts
@@ -1,7 +1,7 @@
export enum ICONTYPES {
- NONE = '',
+ ALL = 'ALL',
PERSONAL = 'PERSONAL',
GROUP = 'GROUP',
CLEARANCE = 'CLEARANCE',
diff --git a/web/src/assets/icons/asterisk.svg b/web/src/assets/icons/asterisk.svg
new file mode 100644
index 000000000..50a83a636
--- /dev/null
+++ b/web/src/assets/icons/asterisk.svg
@@ -0,0 +1 @@
+
\ No newline at end of file