From 94082e07d9dabefa59354ffa9142976ef5469004 Mon Sep 17 00:00:00 2001 From: Ludwig Reiter Date: Thu, 12 Dec 2024 13:31:07 +0100 Subject: [PATCH] Update motion submission date label visiblity (#4428) --- .../motion-manage-timestamp.component.html | 8 +++-- .../motion-manage-timestamp.component.ts | 30 +++++++++++++++---- 2 files changed, 30 insertions(+), 8 deletions(-) diff --git a/client/src/app/site/pages/meetings/pages/motions/pages/motion-detail/pages/motion-view/components/motion-manage-timestamp/motion-manage-timestamp.component.html b/client/src/app/site/pages/meetings/pages/motions/pages/motion-detail/pages/motion-view/components/motion-manage-timestamp/motion-manage-timestamp.component.html index a25ba24484..21d6a7b69a 100644 --- a/client/src/app/site/pages/meetings/pages/motions/pages/motion-detail/pages/motion-view/components/motion-manage-timestamp/motion-manage-timestamp.component.html +++ b/client/src/app/site/pages/meetings/pages/motions/pages/motion-detail/pages/motion-view/components/motion-manage-timestamp/motion-manage-timestamp.component.html @@ -1,6 +1,8 @@

- {{ title }} - @if (perms.isAllowed('change_metadata')) { + @if (!isEmpty || canChangeMetadata) { + {{ title }} + } + @if (canChangeMetadata) { @if (isEditMode) {