From 2f188d23bae1c199f44d5e215636fe1682704796 Mon Sep 17 00:00:00 2001 From: Karel Persoons Date: Fri, 5 Mar 2021 19:47:19 +0100 Subject: [PATCH 1/5] Replace vl-icon occurrences (part 1) --- .../components/access-level-pill/template.hbs | 5 ++--- .../agenda-detail/sidebar-item/template.hbs | 5 +---- .../agenda-overview-item/template.hbs | 4 +--- .../agendaitem-approvals/template.hbs | 20 +++++++------------ 4 files changed, 11 insertions(+), 23 deletions(-) diff --git a/app/pods/components/access-level-pill/template.hbs b/app/pods/components/access-level-pill/template.hbs index 41dadadefb..9729e302fe 100644 --- a/app/pods/components/access-level-pill/template.hbs +++ b/app/pods/components/access-level-pill/template.hbs @@ -60,10 +60,9 @@ {{t "document-is-confidential"}}

- + {{else}} - + {{/if}} {{/if}} diff --git a/app/pods/components/agenda/agenda-detail/sidebar-item/template.hbs b/app/pods/components/agenda/agenda-detail/sidebar-item/template.hbs index 7f3edcb965..15241ac58d 100644 --- a/app/pods/components/agenda/agenda-detail/sidebar-item/template.hbs +++ b/app/pods/components/agenda/agenda-detail/sidebar-item/template.hbs @@ -62,10 +62,7 @@ {{/if}} {{#if (await subcase.confidential)}} - + {{/if}} {{/if}} diff --git a/app/pods/components/agenda/agenda-overview/agenda-overview-item/template.hbs b/app/pods/components/agenda/agenda-overview/agenda-overview-item/template.hbs index 3c40cddd51..990afcc2b9 100644 --- a/app/pods/components/agenda/agenda-overview/agenda-overview-item/template.hbs +++ b/app/pods/components/agenda/agenda-overview/agenda-overview-item/template.hbs @@ -208,9 +208,7 @@ {{#if subcase.confidential}} - + {{!-- TODO: needs `vlc-agenda-items__icons` class passed? --}} {{t "confidential"}} {{/if}} diff --git a/app/pods/components/agenda/agendaitem/agendaitem-case/agendaitem-approvals/template.hbs b/app/pods/components/agenda/agendaitem/agendaitem-case/agendaitem-approvals/template.hbs index 64721dfe57..ea18739a4f 100644 --- a/app/pods/components/agenda/agendaitem/agendaitem-case/agendaitem-approvals/template.hbs +++ b/app/pods/components/agenda/agendaitem/agendaitem-case/agendaitem-approvals/template.hbs @@ -47,21 +47,15 @@ {{#if (not isEditing)}} {{#if (await mandateeApproval.approval)}} -

- - + + {{t "approval-mandatee"}} - -

+ {{else}} -

- - - {{t "not-yet-approval-mandatee"}} - -

+ + + {{t "not-yet-approval-mandatee"}} + {{/if}} {{else}}
From dc4897e0cef9948f0bbd8c1f4f1aa8f5d2d03bde Mon Sep 17 00:00:00 2001 From: Karel Persoons Date: Mon, 8 Mar 2021 12:41:04 +0100 Subject: [PATCH 2/5] Fix lint error --- .../agendaitem-case/agendaitem-approvals/template.hbs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/pods/components/agenda/agendaitem/agendaitem-case/agendaitem-approvals/template.hbs b/app/pods/components/agenda/agendaitem/agendaitem-case/agendaitem-approvals/template.hbs index ea18739a4f..1947c4fe82 100644 --- a/app/pods/components/agenda/agendaitem/agendaitem-case/agendaitem-approvals/template.hbs +++ b/app/pods/components/agenda/agendaitem/agendaitem-case/agendaitem-approvals/template.hbs @@ -49,7 +49,7 @@ {{#if (await mandateeApproval.approval)}} - {{t "approval-mandatee"}} + {{t "approval-mandatee"}} {{else}} From e5cb91036b76466c8dced80d8a7daaffe6479e18 Mon Sep 17 00:00:00 2001 From: Karel Persoons Date: Mon, 8 Mar 2021 12:41:41 +0100 Subject: [PATCH 3/5] Replace vl-icon occurrences (part 2) --- app/pods/components/documents/document-card/template.hbs | 2 +- .../components/documents/linked-document-link/template.hbs | 5 ++--- .../subcase/subcase-case/subcase-titles/template.hbs | 6 ++---- app/pods/components/subcases/subcase-item/template.hbs | 4 ++-- app/pods/components/utils/pieces-list-for-item/template.hbs | 4 ++-- .../components/utils/pieces-list-lazy-loaded/template.hbs | 4 ++-- app/pods/components/web-components/vl-document/template.hbs | 2 +- .../components/web-components/vl-mandatee-link/template.hbs | 2 +- 8 files changed, 13 insertions(+), 16 deletions(-) diff --git a/app/pods/components/documents/document-card/template.hbs b/app/pods/components/documents/document-card/template.hbs index 74d883310d..baeee59bb5 100644 --- a/app/pods/components/documents/document-card/template.hbs +++ b/app/pods/components/documents/document-card/template.hbs @@ -87,7 +87,7 @@ "vlc-document-list__item vlc-document-list__item--active" }}" > -
+
diff --git a/app/pods/components/documents/linked-document-link/template.hbs b/app/pods/components/documents/linked-document-link/template.hbs index 557bb11061..85f0d3d825 100644 --- a/app/pods/components/documents/linked-document-link/template.hbs +++ b/app/pods/components/documents/linked-document-link/template.hbs @@ -1,7 +1,7 @@
-
+
@@ -33,8 +33,7 @@ type="button" {{on "click" this.deletePieceLink}} > - + {{/if}}
diff --git a/app/pods/components/subcase/subcase-case/subcase-titles/template.hbs b/app/pods/components/subcase/subcase-case/subcase-titles/template.hbs index c444a2b587..a97da576d7 100644 --- a/app/pods/components/subcase/subcase-case/subcase-titles/template.hbs +++ b/app/pods/components/subcase/subcase-case/subcase-titles/template.hbs @@ -51,11 +51,9 @@ data-test-agenda-subcasehidden-pill > {{#if (await subcase.confidential)}} - + {{else}} - + {{/if}}
diff --git a/app/pods/components/subcases/subcase-item/template.hbs b/app/pods/components/subcases/subcase-item/template.hbs index 1684a02c5a..5147c6c0fb 100644 --- a/app/pods/components/subcases/subcase-item/template.hbs +++ b/app/pods/components/subcases/subcase-item/template.hbs @@ -1,9 +1,9 @@
{{#if (is-pending subcase.approved)}} -
{{else if (await subcase.approved)}} -
diff --git a/app/pods/components/utils/pieces-list-for-item/template.hbs b/app/pods/components/utils/pieces-list-for-item/template.hbs index af6ead1dd5..7b1967f91b 100644 --- a/app/pods/components/utils/pieces-list-for-item/template.hbs +++ b/app/pods/components/utils/pieces-list-for-item/template.hbs @@ -25,8 +25,8 @@
{{#if this.moreThan20}}
{{#if this.moreThan20}}