mirror of
https://github.com/hcengineering/platform.git
synced 2026-09-07 10:17:42 +02:00
TSK-833 Доработка Таблицы Vacations TSK-817 Click on Employee is broken, it should open Edit Contact TSK-805 Открывать задачу в новой вкладке при клике колесиком TSK-794 Прикрепление ссылки на вакансию/аппликейшн в чате (#2734)
Signed-off-by: Denis Bykhov <bykhov.denis@gmail.com>
This commit is contained in:
@@ -15,7 +15,6 @@
|
||||
<script lang="ts">
|
||||
import { getClient } from '@hcengineering/presentation'
|
||||
import type { KanbanTemplate } from '@hcengineering/task'
|
||||
import { Label } from '@hcengineering/ui'
|
||||
|
||||
export let value: KanbanTemplate
|
||||
|
||||
@@ -25,5 +24,5 @@
|
||||
|
||||
<span class="label nowrap">
|
||||
{#if shortLabel}
|
||||
<Label label={shortLabel} />-{/if}{value.title}</span
|
||||
{shortLabel}-{/if}{value.title}</span
|
||||
>
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
<script lang="ts">
|
||||
import { getClient } from '@hcengineering/presentation'
|
||||
import type { Issue, Task } from '@hcengineering/task'
|
||||
import { Icon, Label } from '@hcengineering/ui'
|
||||
import { Icon } from '@hcengineering/ui'
|
||||
import task from '../plugin'
|
||||
|
||||
export let value: Task
|
||||
@@ -34,7 +34,7 @@
|
||||
<div class="flex item">
|
||||
<Icon icon={task.icon.Task} size={'large'} />
|
||||
<div class="ml-2">
|
||||
{#if shortLabel}<Label label={shortLabel} />-{/if}{value.number}
|
||||
{#if shortLabel}{shortLabel}-{/if}{value.number}
|
||||
</div>
|
||||
{#if name}
|
||||
<div class="ml-1">{name}</div>
|
||||
|
||||
@@ -16,8 +16,8 @@
|
||||
<script lang="ts">
|
||||
import { getClient } from '@hcengineering/presentation'
|
||||
import type { Issue } from '@hcengineering/task'
|
||||
import { getPanelURI, Icon, Label } from '@hcengineering/ui'
|
||||
import view from '@hcengineering/view'
|
||||
import { Icon } from '@hcengineering/ui'
|
||||
import { DocNavLink } from '@hcengineering/view-resources'
|
||||
import task from '../plugin'
|
||||
|
||||
export let value: Issue
|
||||
@@ -28,16 +28,14 @@
|
||||
</script>
|
||||
|
||||
{#if value && shortLabel}
|
||||
<a
|
||||
class="flex-presenter"
|
||||
class:inline-presenter={inline}
|
||||
href="#{getPanelURI(view.component.EditDoc, value._id, value._class, 'content')}"
|
||||
>
|
||||
<div class="icon">
|
||||
<Icon icon={task.icon.Task} size={'small'} />
|
||||
<DocNavLink object={value} {inline}>
|
||||
<div class="flex-presenter" class:inline-presenter={inline}>
|
||||
<div class="icon">
|
||||
<Icon icon={task.icon.Task} size={'small'} />
|
||||
</div>
|
||||
<span class="label nowrap"
|
||||
>{#if shortLabel}{shortLabel}-{/if}{value.number}</span
|
||||
>
|
||||
</div>
|
||||
<span class="label nowrap"
|
||||
>{#if shortLabel}<Label label={shortLabel} />-{/if}{value.number}</span
|
||||
>
|
||||
</a>
|
||||
</DocNavLink>
|
||||
{/if}
|
||||
|
||||
Reference in New Issue
Block a user