mirror of
https://github.com/go-vikunja/vikunja.git
synced 2026-03-09 07:13:35 -05:00
fix: apply final icon slot formatting from migration agents
This commit is contained in:
@@ -16,7 +16,9 @@
|
|||||||
class="mbe-4"
|
class="mbe-4"
|
||||||
@click="showNewForm = true"
|
@click="showNewForm = true"
|
||||||
>
|
>
|
||||||
<template #icon><PhPlus /></template>
|
<template #icon>
|
||||||
|
<PhPlus />
|
||||||
|
</template>
|
||||||
{{ $t('project.share.links.create') }}
|
{{ $t('project.share.links.create') }}
|
||||||
</XButton>
|
</XButton>
|
||||||
|
|
||||||
@@ -62,7 +64,9 @@
|
|||||||
<XButton
|
<XButton
|
||||||
@click="add(projectId)"
|
@click="add(projectId)"
|
||||||
>
|
>
|
||||||
<template #icon><PhPlus /></template>
|
<template #icon>
|
||||||
|
<PhPlus />
|
||||||
|
</template>
|
||||||
{{ $t('project.share.share') }}
|
{{ $t('project.share.share') }}
|
||||||
</XButton>
|
</XButton>
|
||||||
</div>
|
</div>
|
||||||
@@ -164,7 +168,9 @@
|
|||||||
}
|
}
|
||||||
"
|
"
|
||||||
>
|
>
|
||||||
<template #icon><PhTrash /></template>
|
<template #icon>
|
||||||
|
<PhTrash />
|
||||||
|
</template>
|
||||||
</XButton>
|
</XButton>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|||||||
@@ -129,7 +129,9 @@
|
|||||||
}
|
}
|
||||||
"
|
"
|
||||||
>
|
>
|
||||||
<template #icon><PhTrash /></template>
|
<template #icon>
|
||||||
|
<PhTrash />
|
||||||
|
</template>
|
||||||
</XButton>
|
</XButton>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|||||||
@@ -6,9 +6,10 @@
|
|||||||
<XButton
|
<XButton
|
||||||
:to="{name:'labels.create'}"
|
:to="{name:'labels.create'}"
|
||||||
class="is-pulled-right"
|
class="is-pulled-right"
|
||||||
|
|
||||||
>
|
>
|
||||||
<template #icon><PhPlus /></template>
|
<template #icon>
|
||||||
|
<PhPlus />
|
||||||
|
</template>
|
||||||
{{ $t('label.create.header') }}
|
{{ $t('label.create.header') }}
|
||||||
</XButton>
|
</XButton>
|
||||||
|
|
||||||
@@ -88,7 +89,9 @@
|
|||||||
danger
|
danger
|
||||||
@click="showDeleteDialoge(labelEditLabel)"
|
@click="showDeleteDialoge(labelEditLabel)"
|
||||||
>
|
>
|
||||||
<template #icon><PhTrash /></template>
|
<template #icon>
|
||||||
|
<PhTrash />
|
||||||
|
</template>
|
||||||
</XButton>
|
</XButton>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -15,17 +15,19 @@
|
|||||||
<div class="action-buttons">
|
<div class="action-buttons">
|
||||||
<XButton
|
<XButton
|
||||||
:to="{name: 'filters.create'}"
|
:to="{name: 'filters.create'}"
|
||||||
|
|
||||||
>
|
>
|
||||||
<template #icon><PhFunnel /></template>
|
<template #icon>
|
||||||
|
<PhFunnel />
|
||||||
|
</template>
|
||||||
{{ $t('filters.create.title') }}
|
{{ $t('filters.create.title') }}
|
||||||
</XButton>
|
</XButton>
|
||||||
<XButton
|
<XButton
|
||||||
v-cy="'new-project'"
|
v-cy="'new-project'"
|
||||||
:to="{name: 'project.create'}"
|
:to="{name: 'project.create'}"
|
||||||
|
|
||||||
>
|
>
|
||||||
<template #icon><PhPlus /></template>
|
<template #icon>
|
||||||
|
<PhPlus />
|
||||||
|
</template>
|
||||||
{{ $t('project.create.header') }}
|
{{ $t('project.create.header') }}
|
||||||
</XButton>
|
</XButton>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -5,7 +5,9 @@
|
|||||||
:primary-label="$t('project.duplicate.label')"
|
:primary-label="$t('project.duplicate.label')"
|
||||||
@primary="duplicate"
|
@primary="duplicate"
|
||||||
>
|
>
|
||||||
<template #primary-icon><PhClipboard /></template>
|
<template #primary-icon>
|
||||||
|
<PhClipboard />
|
||||||
|
</template>
|
||||||
<p>{{ $t('project.duplicate.text') }}</p>
|
<p>{{ $t('project.duplicate.text') }}</p>
|
||||||
<ProjectSearch v-model="parentProject" />
|
<ProjectSearch v-model="parentProject" />
|
||||||
</CreateEdit>
|
</CreateEdit>
|
||||||
|
|||||||
@@ -199,13 +199,17 @@ async function saveViewPosition(e) {
|
|||||||
showDeleteModal = true
|
showDeleteModal = true
|
||||||
}"
|
}"
|
||||||
>
|
>
|
||||||
<template #icon><PhTrash /></template>
|
<template #icon>
|
||||||
|
<PhTrash />
|
||||||
|
</template>
|
||||||
</XButton>
|
</XButton>
|
||||||
<XButton
|
<XButton
|
||||||
v-if="isAdmin"
|
v-if="isAdmin"
|
||||||
@click="viewToEdit = {...v}"
|
@click="viewToEdit = {...v}"
|
||||||
>
|
>
|
||||||
<template #icon><PhPencilSimple /></template>
|
<template #icon>
|
||||||
|
<PhPencilSimple />
|
||||||
|
</template>
|
||||||
</XButton>
|
</XButton>
|
||||||
<span class="icon handle">
|
<span class="icon handle">
|
||||||
<PhDotsSixVertical />
|
<PhDotsSixVertical />
|
||||||
|
|||||||
@@ -132,7 +132,9 @@ function validateSelectedEvents() {
|
|||||||
class="mbe-4"
|
class="mbe-4"
|
||||||
@click="showNewForm = true"
|
@click="showNewForm = true"
|
||||||
>
|
>
|
||||||
<template #icon><PhPlus /></template>
|
<template #icon>
|
||||||
|
<PhPlus />
|
||||||
|
</template>
|
||||||
{{ $t('project.webhooks.create') }}
|
{{ $t('project.webhooks.create') }}
|
||||||
</XButton>
|
</XButton>
|
||||||
|
|
||||||
@@ -242,7 +244,9 @@ function validateSelectedEvents() {
|
|||||||
<XButton
|
<XButton
|
||||||
@click="create"
|
@click="create"
|
||||||
>
|
>
|
||||||
<template #icon><PhPlus /></template>
|
<template #icon>
|
||||||
|
<PhPlus />
|
||||||
|
</template>
|
||||||
{{ $t('project.webhooks.create') }}
|
{{ $t('project.webhooks.create') }}
|
||||||
</XButton>
|
</XButton>
|
||||||
</div>
|
</div>
|
||||||
@@ -280,7 +284,9 @@ function validateSelectedEvents() {
|
|||||||
danger
|
danger
|
||||||
@click="() => {showDeleteModal = true;webhookIdToDelete = w.id}"
|
@click="() => {showDeleteModal = true;webhookIdToDelete = w.id}"
|
||||||
>
|
>
|
||||||
<template #icon><PhTrash /></template>
|
<template #icon>
|
||||||
|
<PhTrash />
|
||||||
|
</template>
|
||||||
</XButton>
|
</XButton>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|||||||
@@ -429,7 +429,9 @@
|
|||||||
variant="secondary"
|
variant="secondary"
|
||||||
@click="toggleTaskDone()"
|
@click="toggleTaskDone()"
|
||||||
>
|
>
|
||||||
<template #icon><PhChecks /></template>
|
<template #icon>
|
||||||
|
<PhChecks />
|
||||||
|
</template>
|
||||||
{{ task.done ? $t('task.detail.undone') : $t('task.detail.done') }}
|
{{ task.done ? $t('task.detail.undone') : $t('task.detail.done') }}
|
||||||
</XButton>
|
</XButton>
|
||||||
<TaskSubscription
|
<TaskSubscription
|
||||||
@@ -443,7 +445,9 @@
|
|||||||
variant="secondary"
|
variant="secondary"
|
||||||
@click="toggleFavorite"
|
@click="toggleFavorite"
|
||||||
>
|
>
|
||||||
<template #icon><PhStar :weight="task.isFavorite ? 'fill' : 'regular'" /></template>
|
<template #icon>
|
||||||
|
<PhStar :weight="task.isFavorite ? 'fill' : 'regular'" />
|
||||||
|
</template>
|
||||||
{{
|
{{
|
||||||
task.isFavorite ? $t('task.detail.actions.unfavorite') : $t('task.detail.actions.favorite')
|
task.isFavorite ? $t('task.detail.actions.unfavorite') : $t('task.detail.actions.favorite')
|
||||||
}}
|
}}
|
||||||
@@ -456,7 +460,9 @@
|
|||||||
variant="secondary"
|
variant="secondary"
|
||||||
@click="setFieldActive('labels')"
|
@click="setFieldActive('labels')"
|
||||||
>
|
>
|
||||||
<template #icon><PhTag /></template>
|
<template #icon>
|
||||||
|
<PhTag />
|
||||||
|
</template>
|
||||||
{{ $t('task.detail.actions.label') }}
|
{{ $t('task.detail.actions.label') }}
|
||||||
</XButton>
|
</XButton>
|
||||||
<XButton
|
<XButton
|
||||||
@@ -464,14 +470,18 @@
|
|||||||
variant="secondary"
|
variant="secondary"
|
||||||
@click="setFieldActive('priority')"
|
@click="setFieldActive('priority')"
|
||||||
>
|
>
|
||||||
<template #icon><PhWarningCircle /></template>
|
<template #icon>
|
||||||
|
<PhWarningCircle />
|
||||||
|
</template>
|
||||||
{{ $t('task.detail.actions.priority') }}
|
{{ $t('task.detail.actions.priority') }}
|
||||||
</XButton>
|
</XButton>
|
||||||
<XButton
|
<XButton
|
||||||
variant="secondary"
|
variant="secondary"
|
||||||
@click="setFieldActive('percentDone')"
|
@click="setFieldActive('percentDone')"
|
||||||
>
|
>
|
||||||
<template #icon><PhPercent /></template>
|
<template #icon>
|
||||||
|
<PhPercent />
|
||||||
|
</template>
|
||||||
{{ $t('task.detail.actions.percentDone') }}
|
{{ $t('task.detail.actions.percentDone') }}
|
||||||
</XButton>
|
</XButton>
|
||||||
<XButton
|
<XButton
|
||||||
@@ -479,7 +489,9 @@
|
|||||||
variant="secondary"
|
variant="secondary"
|
||||||
@click="setFieldActive('color')"
|
@click="setFieldActive('color')"
|
||||||
>
|
>
|
||||||
<template #icon><PhPaintBucket :style="{color}" /></template>
|
<template #icon>
|
||||||
|
<PhPaintBucket :style="{color}" />
|
||||||
|
</template>
|
||||||
{{ $t('task.detail.actions.color') }}
|
{{ $t('task.detail.actions.color') }}
|
||||||
</XButton>
|
</XButton>
|
||||||
|
|
||||||
@@ -491,7 +503,9 @@
|
|||||||
variant="secondary"
|
variant="secondary"
|
||||||
@click="setFieldActive('assignees')"
|
@click="setFieldActive('assignees')"
|
||||||
>
|
>
|
||||||
<template #icon><PhUsers /></template>
|
<template #icon>
|
||||||
|
<PhUsers />
|
||||||
|
</template>
|
||||||
{{ $t('task.detail.actions.assign') }}
|
{{ $t('task.detail.actions.assign') }}
|
||||||
</XButton>
|
</XButton>
|
||||||
<XButton
|
<XButton
|
||||||
@@ -499,7 +513,9 @@
|
|||||||
variant="secondary"
|
variant="secondary"
|
||||||
@click="openAttachments()"
|
@click="openAttachments()"
|
||||||
>
|
>
|
||||||
<template #icon><PhPaperclip /></template>
|
<template #icon>
|
||||||
|
<PhPaperclip />
|
||||||
|
</template>
|
||||||
{{ $t('task.detail.actions.attachments') }}
|
{{ $t('task.detail.actions.attachments') }}
|
||||||
</XButton>
|
</XButton>
|
||||||
<XButton
|
<XButton
|
||||||
@@ -507,7 +523,9 @@
|
|||||||
variant="secondary"
|
variant="secondary"
|
||||||
@click="setRelatedTasksActive()"
|
@click="setRelatedTasksActive()"
|
||||||
>
|
>
|
||||||
<template #icon><PhTreeStructure /></template>
|
<template #icon>
|
||||||
|
<PhTreeStructure />
|
||||||
|
</template>
|
||||||
{{ $t('task.detail.actions.relatedTasks') }}
|
{{ $t('task.detail.actions.relatedTasks') }}
|
||||||
</XButton>
|
</XButton>
|
||||||
<XButton
|
<XButton
|
||||||
@@ -515,7 +533,9 @@
|
|||||||
variant="secondary"
|
variant="secondary"
|
||||||
@click="setFieldActive('moveProject')"
|
@click="setFieldActive('moveProject')"
|
||||||
>
|
>
|
||||||
<template #icon><PhList /></template>
|
<template #icon>
|
||||||
|
<PhList />
|
||||||
|
</template>
|
||||||
{{ $t('task.detail.actions.moveProject') }}
|
{{ $t('task.detail.actions.moveProject') }}
|
||||||
</XButton>
|
</XButton>
|
||||||
|
|
||||||
@@ -526,21 +546,27 @@
|
|||||||
variant="secondary"
|
variant="secondary"
|
||||||
@click="setFieldActive('dueDate')"
|
@click="setFieldActive('dueDate')"
|
||||||
>
|
>
|
||||||
<template #icon><PhCalendar /></template>
|
<template #icon>
|
||||||
|
<PhCalendar />
|
||||||
|
</template>
|
||||||
{{ $t('task.detail.actions.dueDate') }}
|
{{ $t('task.detail.actions.dueDate') }}
|
||||||
</XButton>
|
</XButton>
|
||||||
<XButton
|
<XButton
|
||||||
variant="secondary"
|
variant="secondary"
|
||||||
@click="setFieldActive('startDate')"
|
@click="setFieldActive('startDate')"
|
||||||
>
|
>
|
||||||
<template #icon><PhPlay /></template>
|
<template #icon>
|
||||||
|
<PhPlay />
|
||||||
|
</template>
|
||||||
{{ $t('task.detail.actions.startDate') }}
|
{{ $t('task.detail.actions.startDate') }}
|
||||||
</XButton>
|
</XButton>
|
||||||
<XButton
|
<XButton
|
||||||
variant="secondary"
|
variant="secondary"
|
||||||
@click="setFieldActive('endDate')"
|
@click="setFieldActive('endDate')"
|
||||||
>
|
>
|
||||||
<template #icon><PhStop /></template>
|
<template #icon>
|
||||||
|
<PhStop />
|
||||||
|
</template>
|
||||||
{{ $t('task.detail.actions.endDate') }}
|
{{ $t('task.detail.actions.endDate') }}
|
||||||
</XButton>
|
</XButton>
|
||||||
<XButton
|
<XButton
|
||||||
@@ -548,14 +574,18 @@
|
|||||||
variant="secondary"
|
variant="secondary"
|
||||||
@click="setFieldActive('reminders')"
|
@click="setFieldActive('reminders')"
|
||||||
>
|
>
|
||||||
<template #icon><PhClock /></template>
|
<template #icon>
|
||||||
|
<PhClock />
|
||||||
|
</template>
|
||||||
{{ $t('task.detail.actions.reminders') }}
|
{{ $t('task.detail.actions.reminders') }}
|
||||||
</XButton>
|
</XButton>
|
||||||
<XButton
|
<XButton
|
||||||
variant="secondary"
|
variant="secondary"
|
||||||
@click="setFieldActive('repeatAfter')"
|
@click="setFieldActive('repeatAfter')"
|
||||||
>
|
>
|
||||||
<template #icon><PhClockCounterClockwise /></template>
|
<template #icon>
|
||||||
|
<PhClockCounterClockwise />
|
||||||
|
</template>
|
||||||
{{ $t('task.detail.actions.repeatAfter') }}
|
{{ $t('task.detail.actions.repeatAfter') }}
|
||||||
</XButton>
|
</XButton>
|
||||||
<XButton
|
<XButton
|
||||||
@@ -564,7 +594,9 @@
|
|||||||
class="is-danger is-outlined has-no-border"
|
class="is-danger is-outlined has-no-border"
|
||||||
@click="showDeleteModal = true"
|
@click="showDeleteModal = true"
|
||||||
>
|
>
|
||||||
<template #icon><PhTrash /></template>
|
<template #icon>
|
||||||
|
<PhTrash />
|
||||||
|
</template>
|
||||||
{{ $t('task.detail.actions.delete') }}
|
{{ $t('task.detail.actions.delete') }}
|
||||||
</XButton>
|
</XButton>
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
@@ -59,7 +59,9 @@
|
|||||||
danger
|
danger
|
||||||
@click="showDeleteModal = true"
|
@click="showDeleteModal = true"
|
||||||
>
|
>
|
||||||
<template #icon><PhTrash /></template>
|
<template #icon>
|
||||||
|
<PhTrash />
|
||||||
|
</template>
|
||||||
</XButton>
|
</XButton>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -98,7 +100,9 @@
|
|||||||
<XButton
|
<XButton
|
||||||
@click="addUser"
|
@click="addUser"
|
||||||
>
|
>
|
||||||
<template #icon><PhPlus /></template>
|
<template #icon>
|
||||||
|
<PhPlus />
|
||||||
|
</template>
|
||||||
{{ $t('team.edit.addUser') }}
|
{{ $t('team.edit.addUser') }}
|
||||||
</XButton>
|
</XButton>
|
||||||
</div>
|
</div>
|
||||||
@@ -160,7 +164,9 @@
|
|||||||
danger
|
danger
|
||||||
@click="() => {memberToDelete = m; showUserDeleteModal = true}"
|
@click="() => {memberToDelete = m; showUserDeleteModal = true}"
|
||||||
>
|
>
|
||||||
<template #icon><PhTrash /></template>
|
<template #icon>
|
||||||
|
<PhTrash />
|
||||||
|
</template>
|
||||||
</XButton>
|
</XButton>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|||||||
@@ -6,9 +6,10 @@
|
|||||||
<XButton
|
<XButton
|
||||||
:to="{name:'teams.create'}"
|
:to="{name:'teams.create'}"
|
||||||
class="is-pulled-right"
|
class="is-pulled-right"
|
||||||
|
|
||||||
>
|
>
|
||||||
<template #icon><PhPlus /></template>
|
<template #icon>
|
||||||
|
<PhPlus />
|
||||||
|
</template>
|
||||||
{{ $t('team.create.title') }}
|
{{ $t('team.create.title') }}
|
||||||
</XButton>
|
</XButton>
|
||||||
|
|
||||||
|
|||||||
@@ -386,7 +386,9 @@ function toggleGroupPermissionsFromChild(group: string, checked: boolean) {
|
|||||||
:loading="service.loading"
|
:loading="service.loading"
|
||||||
@click="() => showCreateForm = true"
|
@click="() => showCreateForm = true"
|
||||||
>
|
>
|
||||||
<template #icon><PhPlus /></template>
|
<template #icon>
|
||||||
|
<PhPlus />
|
||||||
|
</template>
|
||||||
{{ $t('user.settings.apiTokens.createAToken') }}
|
{{ $t('user.settings.apiTokens.createAToken') }}
|
||||||
</XButton>
|
</XButton>
|
||||||
|
|
||||||
|
|||||||
@@ -17,7 +17,9 @@
|
|||||||
:shadow="false"
|
:shadow="false"
|
||||||
@click="copy(caldavUrl)"
|
@click="copy(caldavUrl)"
|
||||||
>
|
>
|
||||||
<template #icon><PhClipboard /></template>
|
<template #icon>
|
||||||
|
<PhClipboard />
|
||||||
|
</template>
|
||||||
</XButton>
|
</XButton>
|
||||||
</template>
|
</template>
|
||||||
</FormField>
|
</FormField>
|
||||||
@@ -80,7 +82,9 @@
|
|||||||
:loading="service.loading"
|
:loading="service.loading"
|
||||||
@click="createToken"
|
@click="createToken"
|
||||||
>
|
>
|
||||||
<template #icon><PhPlus /></template>
|
<template #icon>
|
||||||
|
<PhPlus />
|
||||||
|
</template>
|
||||||
{{ $t('user.settings.caldav.createToken') }}
|
{{ $t('user.settings.caldav.createToken') }}
|
||||||
</XButton>
|
</XButton>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user