mirror of
https://github.com/hcengineering/platform.git
synced 2026-09-22 01:25:00 +02:00
UBER-87, TSK-1324: update icons and popups. (#3209)
This commit is contained in:
@@ -49,7 +49,7 @@
|
||||
<Icon icon={tracker.icon.Component} size={'small'} />
|
||||
</div>
|
||||
{/if}
|
||||
<span title={value.label} class="label nowrap">
|
||||
<span title={value.label} class="overflow-label label" class:no-underline={disabled}>
|
||||
{value.label}
|
||||
</span>
|
||||
</div>
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
<script lang="ts">
|
||||
import { copyTextToClipboard, createQuery } from '@hcengineering/presentation'
|
||||
import { Issue, IssueStatus } from '@hcengineering/tracker'
|
||||
import view from '@hcengineering/view'
|
||||
import {
|
||||
AnySvelteComponent,
|
||||
Button,
|
||||
@@ -119,7 +120,7 @@
|
||||
</div>
|
||||
<div class="flex-between gap-2">
|
||||
<Button label={tracker.string.ViewIssue} on:click={handleIssueOpened} />
|
||||
<Button icon={tracker.icon.CopyURL} label={tracker.string.CopyIssueUrl} on:click={handleCopyUrl} />
|
||||
<Button icon={view.icon.CopyLink} label={tracker.string.CopyIssueUrl} on:click={handleCopyUrl} />
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
@@ -13,6 +13,7 @@
|
||||
// limitations under the License.
|
||||
-->
|
||||
<script lang="ts">
|
||||
import view from '@hcengineering/view'
|
||||
import tracker from '../../../plugin'
|
||||
import CopyToClipboardButton from './CopyToClipboardButton.svelte'
|
||||
|
||||
@@ -22,11 +23,11 @@
|
||||
</script>
|
||||
|
||||
{#if issueUrl}
|
||||
<CopyToClipboardButton icon={tracker.icon.CopyURL} title={tracker.string.CopyIssueUrl} text={issueUrl} />
|
||||
<CopyToClipboardButton icon={view.icon.CopyLink} title={tracker.string.CopyIssueUrl} text={issueUrl} />
|
||||
{/if}
|
||||
|
||||
{#if issueId}
|
||||
<CopyToClipboardButton icon={tracker.icon.CopyID} title={tracker.string.CopyIssueId} text={issueId} />
|
||||
<CopyToClipboardButton icon={view.icon.CopyId} title={tracker.string.CopyIssueId} text={issueId} />
|
||||
{/if}
|
||||
|
||||
{#if issueBranch}
|
||||
|
||||
@@ -49,7 +49,7 @@
|
||||
<Icon icon={tracker.icon.Milestone} size={'small'} />
|
||||
</div>
|
||||
{/if}
|
||||
<span title={value.label} class="label nowrap">
|
||||
<span title={value.label} class="overflow-label label">
|
||||
{value.label}
|
||||
</span>
|
||||
</div>
|
||||
|
||||
@@ -39,7 +39,7 @@
|
||||
<span class="issuePresenterRoot" class:noPointer={disabled} class:noUnderline on:click={handleIssueEditorOpened}>
|
||||
{#if !inline && shouldShowAvatar}
|
||||
<div class="mr-2" use:tooltip={{ label: tracker.string.IssueTemplate }}>
|
||||
<Icon icon={tracker.icon.Issues} size={'small'} />
|
||||
<Icon icon={tracker.icon.IssueTemplates} size={'small'} />
|
||||
</div>
|
||||
{/if}
|
||||
<span title={value?.title}>
|
||||
|
||||
Reference in New Issue
Block a user