feat(frontend) : show project code and task number badge in TaskModal header
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -15,9 +15,17 @@
|
|||||||
<!-- Header -->
|
<!-- Header -->
|
||||||
<div class="border-b border-neutral-100 bg-neutral-50/80 px-8 py-5">
|
<div class="border-b border-neutral-100 bg-neutral-50/80 px-8 py-5">
|
||||||
<div class="flex items-center justify-between">
|
<div class="flex items-center justify-between">
|
||||||
<h2 class="text-lg font-bold tracking-tight text-neutral-900">
|
<div class="flex items-center gap-3">
|
||||||
{{ isEditing ? 'Modifier un ticket' : 'Ajouter un ticket' }}
|
<span
|
||||||
</h2>
|
v-if="isEditing && task?.project?.code && task?.number"
|
||||||
|
class="rounded-md bg-primary-500 px-2.5 py-1 text-xs font-bold tracking-wide text-white"
|
||||||
|
>
|
||||||
|
{{ task.project.code }}-{{ task.number }}
|
||||||
|
</span>
|
||||||
|
<h2 class="text-lg font-bold tracking-tight text-neutral-900">
|
||||||
|
{{ isEditing ? 'Modifier un ticket' : 'Ajouter un ticket' }}
|
||||||
|
</h2>
|
||||||
|
</div>
|
||||||
<button
|
<button
|
||||||
type="button"
|
type="button"
|
||||||
class="flex h-8 w-8 items-center justify-center rounded-lg text-neutral-400 transition-colors hover:bg-neutral-200/60 hover:text-neutral-600"
|
class="flex h-8 w-8 items-center justify-center rounded-lg text-neutral-400 transition-colors hover:bg-neutral-200/60 hover:text-neutral-600"
|
||||||
|
|||||||
Reference in New Issue
Block a user