diff --git a/plugins/board-resources/src/components/KanbanCard.svelte b/plugins/board-resources/src/components/KanbanCard.svelte index 3af9048907..60b3ba6df1 100644 --- a/plugins/board-resources/src/components/KanbanCard.svelte +++ b/plugins/board-resources/src/components/KanbanCard.svelte @@ -20,8 +20,9 @@ import contact, { Employee } from '@anticrm/contact' import type { Ref, WithLookup } from '@anticrm/core' import notification from '@anticrm/notification' + import view from '@anticrm/view' import { getClient, UserBoxList } from '@anticrm/presentation' - import { Button, Component, EditBox, IconEdit, Label, numberToHexColor, showPopup } from '@anticrm/ui' + import { Button, Component, EditBox, Icon, IconEdit, Label, numberToHexColor, showPopup } from '@anticrm/ui' import { ContextMenu } from '@anticrm/view-resources' import board from '../plugin' import CardLabels from './editor/CardLabels.svelte' @@ -29,6 +30,7 @@ import { hasDate, openCardPanel, updateCard, updateCardMembers } from '../utils/CardUtils' import { getElementPopupAlignment } from '../utils/PopupUtils' import CheckListsPresenter from './presenters/ChecklistsPresenter.svelte' + import NotificationPresenter from './presenters/NotificationPresenter.svelte' export let object: WithLookup @@ -172,11 +174,22 @@
+ +
+ +
{#if object.date && hasDate(object)} -
+
{/if} + {#if object.description} +
+
+ +
+
+ {/if} {#if (object.attachments ?? 0) > 0}
diff --git a/plugins/board-resources/src/components/presenters/ChecklistsPresenter.svelte b/plugins/board-resources/src/components/presenters/ChecklistsPresenter.svelte index 6ff3324105..19de62bbe6 100644 --- a/plugins/board-resources/src/components/presenters/ChecklistsPresenter.svelte +++ b/plugins/board-resources/src/components/presenters/ChecklistsPresenter.svelte @@ -30,7 +30,7 @@  {done}/{total} {#if item.dueTo !== null} -   +   {/if}
{/if} diff --git a/plugins/board-resources/src/components/presenters/NotificationPresenter.svelte b/plugins/board-resources/src/components/presenters/NotificationPresenter.svelte new file mode 100644 index 0000000000..1fd043a121 --- /dev/null +++ b/plugins/board-resources/src/components/presenters/NotificationPresenter.svelte @@ -0,0 +1,34 @@ + + + +{#if subscribed} +
+ +
+{/if}