2026-02-08 01:45:00 +01:00
|
|
|
{% extends "shared/frontend/base.html" %}
|
|
|
|
|
|
|
|
|
|
{% block title %}Arkiveret Ticket - BMC Hub{% endblock %}
|
|
|
|
|
|
|
|
|
|
{% block extra_css %}
|
|
|
|
|
<style>
|
2026-07-03 20:20:22 +02:00
|
|
|
.archived-detail-page {
|
|
|
|
|
max-width: 1480px;
|
|
|
|
|
margin: 0 auto;
|
|
|
|
|
padding-bottom: 3rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.archive-hero {
|
|
|
|
|
position: relative;
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
background:
|
|
|
|
|
radial-gradient(circle at top right, rgba(15, 76, 117, 0.18), transparent 28rem),
|
|
|
|
|
linear-gradient(145deg, #ffffff 0%, #f4f8fb 58%, #eaf1f6 100%);
|
|
|
|
|
border: 1px solid rgba(15, 76, 117, 0.12);
|
|
|
|
|
border-radius: 28px;
|
|
|
|
|
box-shadow: 0 24px 60px rgba(15, 76, 117, 0.12);
|
|
|
|
|
padding: 2rem;
|
|
|
|
|
margin-bottom: 1.5rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.archive-hero::after {
|
|
|
|
|
content: "";
|
|
|
|
|
position: absolute;
|
|
|
|
|
inset: auto -5rem -5rem auto;
|
|
|
|
|
width: 18rem;
|
|
|
|
|
height: 18rem;
|
|
|
|
|
border-radius: 999px;
|
|
|
|
|
background: rgba(15, 76, 117, 0.07);
|
|
|
|
|
filter: blur(20px);
|
|
|
|
|
pointer-events: none;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.archive-hero-top {
|
|
|
|
|
display: flex;
|
|
|
|
|
justify-content: space-between;
|
|
|
|
|
gap: 1.5rem;
|
|
|
|
|
align-items: flex-start;
|
|
|
|
|
margin-bottom: 1.5rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.archive-kicker {
|
|
|
|
|
display: inline-flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
gap: 0.5rem;
|
|
|
|
|
padding: 0.45rem 0.85rem;
|
|
|
|
|
border-radius: 999px;
|
|
|
|
|
background: rgba(15, 76, 117, 0.08);
|
|
|
|
|
color: var(--accent);
|
|
|
|
|
font-size: 0.82rem;
|
|
|
|
|
font-weight: 700;
|
|
|
|
|
letter-spacing: 0.06em;
|
|
|
|
|
text-transform: uppercase;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.archive-title {
|
|
|
|
|
max-width: 60rem;
|
|
|
|
|
font-size: clamp(2rem, 3.4vw, 3.15rem);
|
|
|
|
|
line-height: 1.05;
|
|
|
|
|
font-weight: 800;
|
|
|
|
|
margin: 1rem 0 0.85rem;
|
|
|
|
|
letter-spacing: -0.03em;
|
|
|
|
|
color: #14344a;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.archive-subtitle {
|
|
|
|
|
max-width: 52rem;
|
|
|
|
|
margin: 0;
|
|
|
|
|
color: #587086;
|
|
|
|
|
font-size: 1rem;
|
|
|
|
|
line-height: 1.7;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.archive-back-btn {
|
|
|
|
|
display: inline-flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
gap: 0.55rem;
|
|
|
|
|
padding: 0.9rem 1.15rem;
|
|
|
|
|
border-radius: 14px;
|
|
|
|
|
border: 1px solid rgba(15, 76, 117, 0.14);
|
|
|
|
|
background: rgba(255, 255, 255, 0.78);
|
|
|
|
|
color: var(--accent);
|
|
|
|
|
text-decoration: none;
|
|
|
|
|
font-weight: 700;
|
|
|
|
|
box-shadow: 0 12px 30px rgba(15, 76, 117, 0.08);
|
|
|
|
|
transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.archive-back-btn:hover {
|
|
|
|
|
transform: translateY(-1px);
|
|
|
|
|
box-shadow: 0 18px 32px rgba(15, 76, 117, 0.12);
|
|
|
|
|
border-color: rgba(15, 76, 117, 0.25);
|
|
|
|
|
color: var(--accent);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.archive-meta-strip {
|
|
|
|
|
display: grid;
|
|
|
|
|
grid-template-columns: repeat(4, minmax(0, 1fr));
|
|
|
|
|
gap: 1rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.archive-stat {
|
|
|
|
|
background: rgba(255, 255, 255, 0.76);
|
|
|
|
|
border: 1px solid rgba(15, 76, 117, 0.1);
|
|
|
|
|
border-radius: 18px;
|
|
|
|
|
padding: 1rem 1.1rem;
|
|
|
|
|
backdrop-filter: blur(10px);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.archive-stat-label {
|
|
|
|
|
font-size: 0.76rem;
|
|
|
|
|
font-weight: 700;
|
|
|
|
|
letter-spacing: 0.08em;
|
|
|
|
|
text-transform: uppercase;
|
|
|
|
|
color: #75899b;
|
|
|
|
|
margin-bottom: 0.45rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.archive-stat-value {
|
|
|
|
|
color: #16384d;
|
|
|
|
|
font-size: 1rem;
|
|
|
|
|
font-weight: 700;
|
|
|
|
|
line-height: 1.4;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.archive-layout {
|
|
|
|
|
display: grid;
|
|
|
|
|
grid-template-columns: minmax(0, 1.8fr) minmax(320px, 0.95fr);
|
|
|
|
|
gap: 1.5rem;
|
|
|
|
|
align-items: start;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.surface-card {
|
|
|
|
|
background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 251, 253, 0.98));
|
|
|
|
|
border: 1px solid rgba(15, 76, 117, 0.1);
|
|
|
|
|
border-radius: 24px;
|
|
|
|
|
box-shadow: 0 20px 48px rgba(15, 76, 117, 0.08);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.content-card {
|
|
|
|
|
padding: 1.65rem 1.75rem;
|
|
|
|
|
margin-bottom: 1.5rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.section-heading {
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: space-between;
|
|
|
|
|
gap: 1rem;
|
|
|
|
|
margin-bottom: 1.25rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.section-title {
|
|
|
|
|
display: inline-flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
gap: 0.7rem;
|
|
|
|
|
margin: 0;
|
|
|
|
|
color: #16384d;
|
|
|
|
|
font-size: 1.18rem;
|
|
|
|
|
font-weight: 800;
|
|
|
|
|
letter-spacing: -0.01em;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.section-title i {
|
|
|
|
|
width: 2rem;
|
|
|
|
|
height: 2rem;
|
|
|
|
|
display: inline-flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
border-radius: 999px;
|
|
|
|
|
background: rgba(15, 76, 117, 0.08);
|
|
|
|
|
color: var(--accent);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.section-hint {
|
|
|
|
|
color: #7890a1;
|
|
|
|
|
font-size: 0.92rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.ticket-chip {
|
|
|
|
|
display: inline-flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
gap: 0.5rem;
|
|
|
|
|
padding: 0.55rem 0.85rem;
|
|
|
|
|
border-radius: 999px;
|
|
|
|
|
font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
|
|
|
|
|
font-size: 0.86rem;
|
|
|
|
|
font-weight: 700;
|
|
|
|
|
color: var(--accent);
|
|
|
|
|
background: rgba(15, 76, 117, 0.1);
|
|
|
|
|
border: 1px solid rgba(15, 76, 117, 0.1);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.status-badges {
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-wrap: wrap;
|
|
|
|
|
gap: 0.75rem;
|
|
|
|
|
justify-content: flex-end;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.status-pill {
|
|
|
|
|
display: inline-flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
gap: 0.45rem;
|
|
|
|
|
padding: 0.55rem 0.9rem;
|
|
|
|
|
border-radius: 999px;
|
|
|
|
|
font-size: 0.82rem;
|
|
|
|
|
font-weight: 700;
|
|
|
|
|
letter-spacing: 0.04em;
|
|
|
|
|
text-transform: uppercase;
|
|
|
|
|
border: 1px solid transparent;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.status-pill.status-open,
|
|
|
|
|
.status-pill.status-new,
|
|
|
|
|
.status-pill.status-created {
|
|
|
|
|
background: rgba(25, 135, 84, 0.12);
|
|
|
|
|
border-color: rgba(25, 135, 84, 0.15);
|
|
|
|
|
color: #146c43;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.status-pill.status-pending,
|
|
|
|
|
.status-pill.status-waiting,
|
|
|
|
|
.status-pill.status-pending_customer {
|
|
|
|
|
background: rgba(255, 193, 7, 0.16);
|
|
|
|
|
border-color: rgba(255, 193, 7, 0.18);
|
|
|
|
|
color: #8a6510;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.status-pill.status-closed,
|
|
|
|
|
.status-pill.status-resolved,
|
|
|
|
|
.status-pill.status-done {
|
|
|
|
|
background: rgba(13, 110, 253, 0.12);
|
|
|
|
|
border-color: rgba(13, 110, 253, 0.16);
|
|
|
|
|
color: #0b5ed7;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.status-pill.status-priority {
|
|
|
|
|
background: rgba(220, 53, 69, 0.1);
|
|
|
|
|
border-color: rgba(220, 53, 69, 0.14);
|
|
|
|
|
color: #b02a37;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.rich-copy {
|
|
|
|
|
color: #334a5e;
|
|
|
|
|
font-size: 1rem;
|
|
|
|
|
line-height: 1.82;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.rich-copy p:last-child {
|
|
|
|
|
margin-bottom: 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.empty-copy {
|
|
|
|
|
padding: 1rem 1.1rem;
|
|
|
|
|
border-radius: 16px;
|
|
|
|
|
background: rgba(15, 76, 117, 0.05);
|
|
|
|
|
color: #7890a1;
|
|
|
|
|
font-style: italic;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.sidebar-card {
|
|
|
|
|
padding: 1.4rem;
|
|
|
|
|
position: sticky;
|
|
|
|
|
top: 100px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.sidebar-title {
|
|
|
|
|
margin: 0 0 1rem;
|
|
|
|
|
color: #16384d;
|
|
|
|
|
font-size: 1rem;
|
|
|
|
|
font-weight: 800;
|
|
|
|
|
letter-spacing: -0.01em;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.meta-list {
|
|
|
|
|
display: grid;
|
|
|
|
|
gap: 0.9rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.meta-row {
|
|
|
|
|
display: grid;
|
|
|
|
|
gap: 0.3rem;
|
|
|
|
|
padding-bottom: 0.9rem;
|
|
|
|
|
border-bottom: 1px solid rgba(15, 76, 117, 0.08);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.meta-row:last-child {
|
|
|
|
|
padding-bottom: 0;
|
|
|
|
|
border-bottom: 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.meta-label {
|
|
|
|
|
font-size: 0.73rem;
|
|
|
|
|
font-weight: 700;
|
|
|
|
|
letter-spacing: 0.08em;
|
|
|
|
|
text-transform: uppercase;
|
|
|
|
|
color: #7d92a2;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.meta-value {
|
|
|
|
|
color: #17364a;
|
|
|
|
|
font-size: 0.98rem;
|
|
|
|
|
font-weight: 700;
|
|
|
|
|
line-height: 1.45;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.meta-value.is-muted {
|
|
|
|
|
color: #7c91a2;
|
|
|
|
|
font-weight: 600;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.message-timeline {
|
|
|
|
|
position: relative;
|
|
|
|
|
display: grid;
|
|
|
|
|
gap: 1rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.message-timeline::before {
|
|
|
|
|
content: "";
|
|
|
|
|
position: absolute;
|
|
|
|
|
top: 0.75rem;
|
|
|
|
|
bottom: 0.75rem;
|
|
|
|
|
left: 1rem;
|
|
|
|
|
width: 2px;
|
|
|
|
|
background: linear-gradient(180deg, rgba(15, 76, 117, 0.24), rgba(15, 76, 117, 0.08));
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.message-entry {
|
|
|
|
|
position: relative;
|
|
|
|
|
margin-left: 2.6rem;
|
|
|
|
|
padding: 1.2rem 1.2rem 1.15rem;
|
|
|
|
|
border-radius: 20px;
|
|
|
|
|
border: 1px solid rgba(15, 76, 117, 0.08);
|
|
|
|
|
background: rgba(255, 255, 255, 0.92);
|
|
|
|
|
box-shadow: 0 14px 30px rgba(15, 76, 117, 0.06);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.message-entry::before {
|
|
|
|
|
content: "";
|
|
|
|
|
position: absolute;
|
|
|
|
|
left: -1.95rem;
|
|
|
|
|
top: 1.2rem;
|
|
|
|
|
width: 0.9rem;
|
|
|
|
|
height: 0.9rem;
|
|
|
|
|
border-radius: 999px;
|
|
|
|
|
background: #ffffff;
|
|
|
|
|
border: 3px solid var(--accent);
|
|
|
|
|
box-shadow: 0 0 0 6px rgba(15, 76, 117, 0.08);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.message-entry.message-email::before {
|
|
|
|
|
border-color: #0d6efd;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.message-entry.message-comment::before {
|
|
|
|
|
border-color: #198754;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.message-entry.message-note::before {
|
|
|
|
|
border-color: #fd7e14;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.message-head {
|
|
|
|
|
display: flex;
|
|
|
|
|
justify-content: space-between;
|
|
|
|
|
gap: 1rem;
|
|
|
|
|
align-items: flex-start;
|
|
|
|
|
margin-bottom: 0.85rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.message-type {
|
|
|
|
|
display: inline-flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
gap: 0.4rem;
|
|
|
|
|
padding: 0.45rem 0.75rem;
|
|
|
|
|
border-radius: 999px;
|
|
|
|
|
background: rgba(15, 76, 117, 0.09);
|
|
|
|
|
color: var(--accent);
|
|
|
|
|
font-size: 0.74rem;
|
|
|
|
|
font-weight: 800;
|
|
|
|
|
letter-spacing: 0.06em;
|
|
|
|
|
text-transform: uppercase;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.message-subject {
|
|
|
|
|
display: block;
|
|
|
|
|
margin-top: 0.7rem;
|
|
|
|
|
font-size: 1.08rem;
|
|
|
|
|
line-height: 1.35;
|
|
|
|
|
color: #193d53;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.message-meta {
|
|
|
|
|
color: #7991a2;
|
|
|
|
|
font-size: 0.84rem;
|
|
|
|
|
line-height: 1.5;
|
|
|
|
|
text-align: right;
|
|
|
|
|
white-space: nowrap;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.message-author {
|
|
|
|
|
margin-bottom: 0.95rem;
|
|
|
|
|
color: #5d7488;
|
|
|
|
|
font-size: 0.92rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.message-body {
|
|
|
|
|
color: #2f4659;
|
|
|
|
|
font-size: 0.97rem;
|
|
|
|
|
line-height: 1.78;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.message-count {
|
|
|
|
|
display: inline-flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
gap: 0.45rem;
|
|
|
|
|
padding: 0.5rem 0.8rem;
|
|
|
|
|
border-radius: 999px;
|
|
|
|
|
background: rgba(15, 76, 117, 0.06);
|
|
|
|
|
color: #617b8f;
|
|
|
|
|
font-size: 0.8rem;
|
|
|
|
|
font-weight: 700;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@media (max-width: 1199.98px) {
|
|
|
|
|
.archive-layout {
|
|
|
|
|
grid-template-columns: 1fr;
|
2026-02-08 01:45:00 +01:00
|
|
|
}
|
|
|
|
|
|
2026-07-03 20:20:22 +02:00
|
|
|
.sidebar-card {
|
|
|
|
|
position: static;
|
2026-02-08 01:45:00 +01:00
|
|
|
}
|
2026-07-03 20:20:22 +02:00
|
|
|
}
|
2026-02-08 01:45:00 +01:00
|
|
|
|
2026-07-03 20:20:22 +02:00
|
|
|
@media (max-width: 991.98px) {
|
|
|
|
|
.archive-meta-strip {
|
|
|
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
2026-02-08 01:45:00 +01:00
|
|
|
}
|
|
|
|
|
|
2026-07-03 20:20:22 +02:00
|
|
|
.archive-hero-top,
|
|
|
|
|
.message-head {
|
|
|
|
|
flex-direction: column;
|
2026-02-08 01:45:00 +01:00
|
|
|
}
|
|
|
|
|
|
2026-07-03 20:20:22 +02:00
|
|
|
.status-badges {
|
|
|
|
|
justify-content: flex-start;
|
2026-02-08 01:45:00 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.message-meta {
|
2026-07-03 20:20:22 +02:00
|
|
|
text-align: left;
|
|
|
|
|
white-space: normal;
|
2026-02-08 01:45:00 +01:00
|
|
|
}
|
2026-07-03 20:20:22 +02:00
|
|
|
}
|
2026-02-08 01:45:00 +01:00
|
|
|
|
2026-07-03 20:20:22 +02:00
|
|
|
@media (max-width: 767.98px) {
|
|
|
|
|
.archived-detail-page {
|
|
|
|
|
padding-bottom: 2rem;
|
2026-02-08 01:45:00 +01:00
|
|
|
}
|
|
|
|
|
|
2026-07-03 20:20:22 +02:00
|
|
|
.archive-hero,
|
|
|
|
|
.content-card,
|
|
|
|
|
.sidebar-card {
|
|
|
|
|
border-radius: 20px;
|
2026-02-08 01:45:00 +01:00
|
|
|
}
|
|
|
|
|
|
2026-07-03 20:20:22 +02:00
|
|
|
.archive-hero,
|
|
|
|
|
.content-card {
|
|
|
|
|
padding: 1.3rem;
|
2026-02-08 01:45:00 +01:00
|
|
|
}
|
|
|
|
|
|
2026-07-03 20:20:22 +02:00
|
|
|
.archive-title {
|
|
|
|
|
font-size: 1.75rem;
|
2026-02-08 01:45:00 +01:00
|
|
|
}
|
|
|
|
|
|
2026-07-03 20:20:22 +02:00
|
|
|
.archive-meta-strip {
|
|
|
|
|
grid-template-columns: 1fr;
|
2026-02-08 01:45:00 +01:00
|
|
|
}
|
2026-07-03 20:20:22 +02:00
|
|
|
|
|
|
|
|
.message-entry {
|
|
|
|
|
margin-left: 2rem;
|
|
|
|
|
padding: 1rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.message-timeline::before {
|
|
|
|
|
left: 0.7rem;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.message-entry::before {
|
|
|
|
|
left: -1.55rem;
|
|
|
|
|
}
|
|
|
|
|
}
|
2026-02-08 01:45:00 +01:00
|
|
|
</style>
|
|
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
|
|
{% block content %}
|
2026-07-03 20:20:22 +02:00
|
|
|
<div class="container-fluid px-4 archived-detail-page">
|
|
|
|
|
<section class="archive-hero">
|
|
|
|
|
<div class="archive-hero-top">
|
|
|
|
|
<div>
|
|
|
|
|
<span class="archive-kicker">
|
|
|
|
|
<i class="bi bi-archive-fill"></i>
|
|
|
|
|
Arkiveret ticket
|
|
|
|
|
</span>
|
|
|
|
|
<h1 class="archive-title">{{ ticket.title or 'Ingen titel' }}</h1>
|
|
|
|
|
<p class="archive-subtitle">
|
|
|
|
|
Historisk ticket fra Simply-CRM med samlet overblik over kunde, status, tidsforbrug og hele beskedtråden.
|
|
|
|
|
</p>
|
|
|
|
|
</div>
|
|
|
|
|
<a href="/ticket/archived" class="archive-back-btn">
|
|
|
|
|
<i class="bi bi-arrow-left"></i>
|
|
|
|
|
Tilbage til liste
|
|
|
|
|
</a>
|
2026-02-08 01:45:00 +01:00
|
|
|
</div>
|
|
|
|
|
|
2026-07-03 20:20:22 +02:00
|
|
|
<div class="d-flex flex-wrap justify-content-between align-items-start gap-3 mb-4">
|
|
|
|
|
<div class="d-flex flex-wrap gap-2">
|
2026-02-08 01:45:00 +01:00
|
|
|
{% if ticket.ticket_number %}
|
2026-07-03 20:20:22 +02:00
|
|
|
<span class="ticket-chip">
|
|
|
|
|
<i class="bi bi-ticket-perforated"></i>
|
|
|
|
|
{{ ticket.ticket_number }}
|
|
|
|
|
</span>
|
2026-02-08 01:45:00 +01:00
|
|
|
{% endif %}
|
|
|
|
|
</div>
|
2026-07-03 20:20:22 +02:00
|
|
|
|
|
|
|
|
<div class="status-badges">
|
2026-02-08 01:45:00 +01:00
|
|
|
{% if ticket.status %}
|
2026-07-03 20:20:22 +02:00
|
|
|
<span class="status-pill status-{{ ticket.status|lower|replace(' ', '_') }}">
|
|
|
|
|
<i class="bi bi-circle-fill"></i>
|
|
|
|
|
{{ ticket.status.replace('_', ' ').title() }}
|
|
|
|
|
</span>
|
|
|
|
|
{% endif %}
|
|
|
|
|
{% if ticket.priority %}
|
|
|
|
|
<span class="status-pill status-priority">
|
|
|
|
|
<i class="bi bi-flag-fill"></i>
|
|
|
|
|
{{ ticket.priority.replace('_', ' ').title() }}
|
|
|
|
|
</span>
|
2026-02-08 01:45:00 +01:00
|
|
|
{% endif %}
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
2026-07-03 20:20:22 +02:00
|
|
|
<div class="archive-meta-strip">
|
|
|
|
|
<div class="archive-stat">
|
|
|
|
|
<div class="archive-stat-label">Organisation</div>
|
|
|
|
|
<div class="archive-stat-value">{{ ticket.organization_name or 'Ikke registreret' }}</div>
|
2026-02-08 01:45:00 +01:00
|
|
|
</div>
|
2026-07-03 20:20:22 +02:00
|
|
|
<div class="archive-stat">
|
|
|
|
|
<div class="archive-stat-label">Kontakt</div>
|
|
|
|
|
<div class="archive-stat-value">{{ ticket.contact_name or 'Ukendt kontakt' }}</div>
|
2026-02-08 01:45:00 +01:00
|
|
|
</div>
|
2026-07-03 20:20:22 +02:00
|
|
|
<div class="archive-stat">
|
|
|
|
|
<div class="archive-stat-label">Tidsforbrug</div>
|
|
|
|
|
<div class="archive-stat-value">
|
2026-02-08 01:45:00 +01:00
|
|
|
{% if ticket.time_spent_hours is not none %}
|
2026-07-03 20:20:22 +02:00
|
|
|
{{ '%.2f'|format(ticket.time_spent_hours) }} timer
|
2026-02-08 01:45:00 +01:00
|
|
|
{% else %}
|
2026-07-03 20:20:22 +02:00
|
|
|
Ikke angivet
|
2026-02-08 01:45:00 +01:00
|
|
|
{% endif %}
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
2026-07-03 20:20:22 +02:00
|
|
|
<div class="archive-stat">
|
|
|
|
|
<div class="archive-stat-label">Beskeder</div>
|
|
|
|
|
<div class="archive-stat-value">{{ messages|length }} registreret{% if messages|length != 1 %}e{% endif %}</div>
|
2026-02-08 01:45:00 +01:00
|
|
|
</div>
|
2026-07-03 20:20:22 +02:00
|
|
|
</div>
|
|
|
|
|
</section>
|
|
|
|
|
|
|
|
|
|
<div class="archive-layout">
|
|
|
|
|
<div>
|
|
|
|
|
<section class="surface-card content-card">
|
|
|
|
|
<div class="section-heading">
|
|
|
|
|
<h2 class="section-title">
|
|
|
|
|
<i class="bi bi-card-text"></i>
|
|
|
|
|
Beskrivelse
|
|
|
|
|
</h2>
|
2026-02-08 01:45:00 +01:00
|
|
|
</div>
|
2026-07-03 20:20:22 +02:00
|
|
|
|
|
|
|
|
{% if description_html %}
|
|
|
|
|
<div class="rich-copy">{{ description_html | safe }}</div>
|
|
|
|
|
{% elif ticket.description %}
|
|
|
|
|
<div class="rich-copy">{{ ticket.description | e | replace('\n', '<br>') | safe }}</div>
|
|
|
|
|
{% else %}
|
|
|
|
|
<div class="empty-copy">Ingen beskrivelse gemt på den arkiverede ticket.</div>
|
|
|
|
|
{% endif %}
|
|
|
|
|
</section>
|
|
|
|
|
|
|
|
|
|
<section class="surface-card content-card">
|
|
|
|
|
<div class="section-heading">
|
|
|
|
|
<h2 class="section-title">
|
|
|
|
|
<i class="bi bi-check2-circle"></i>
|
|
|
|
|
Løsning
|
|
|
|
|
</h2>
|
2026-02-08 01:45:00 +01:00
|
|
|
</div>
|
|
|
|
|
|
2026-07-03 20:20:22 +02:00
|
|
|
{% if solution_html %}
|
|
|
|
|
<div class="rich-copy">{{ solution_html | safe }}</div>
|
|
|
|
|
{% elif ticket.solution %}
|
|
|
|
|
<div class="rich-copy">{{ ticket.solution | e | replace('\n', '<br>') | safe }}</div>
|
|
|
|
|
{% else %}
|
|
|
|
|
<div class="empty-copy">Ingen løsning er registreret på sagen.</div>
|
|
|
|
|
{% endif %}
|
|
|
|
|
</section>
|
2026-02-08 01:45:00 +01:00
|
|
|
|
2026-07-03 20:20:22 +02:00
|
|
|
<section class="surface-card content-card">
|
|
|
|
|
<div class="section-heading">
|
|
|
|
|
<h2 class="section-title">
|
|
|
|
|
<i class="bi bi-chat-left-text"></i>
|
|
|
|
|
Kommentarer og emails
|
|
|
|
|
</h2>
|
|
|
|
|
<span class="message-count">
|
|
|
|
|
<i class="bi bi-collection"></i>
|
|
|
|
|
{{ messages|length }} element{% if messages|length != 1 %}er{% endif %}
|
|
|
|
|
</span>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
{% if messages %}
|
|
|
|
|
<div class="message-timeline">
|
|
|
|
|
{% for message in messages %}
|
|
|
|
|
{% set message_type = (message.message_type or 'message')|lower|replace(' ', '_') %}
|
|
|
|
|
<article class="message-entry message-{{ message_type }}">
|
|
|
|
|
<div class="message-head">
|
|
|
|
|
<div>
|
|
|
|
|
<span class="message-type">
|
|
|
|
|
{% if message_type == 'comment' %}
|
|
|
|
|
<i class="bi bi-chat-left-text-fill"></i>
|
|
|
|
|
{% elif message_type == 'email' %}
|
|
|
|
|
<i class="bi bi-envelope-fill"></i>
|
|
|
|
|
{% else %}
|
|
|
|
|
<i class="bi bi-journal-text"></i>
|
|
|
|
|
{% endif %}
|
|
|
|
|
{{ message.message_type or 'Besked' }}
|
|
|
|
|
</span>
|
|
|
|
|
{% if message.subject %}
|
|
|
|
|
<strong class="message-subject">{{ message.subject }}</strong>
|
|
|
|
|
{% endif %}
|
|
|
|
|
</div>
|
|
|
|
|
<div class="message-meta">
|
|
|
|
|
{% if message.source_created_at %}
|
|
|
|
|
{{ message.source_created_at.strftime('%d/%m/%Y %H:%M') }}
|
|
|
|
|
{% else %}
|
|
|
|
|
Tidspunkt ukendt
|
|
|
|
|
{% endif %}
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
2026-02-08 01:45:00 +01:00
|
|
|
|
2026-07-03 20:20:22 +02:00
|
|
|
{% if message.author_name or message.author_email %}
|
|
|
|
|
<div class="message-author">
|
|
|
|
|
{{ message.author_name or 'Ukendt afsender' }}
|
|
|
|
|
{% if message.author_email %}
|
|
|
|
|
({{ message.author_email }})
|
|
|
|
|
{% endif %}
|
|
|
|
|
</div>
|
|
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
|
|
<div class="message-body rich-copy">
|
|
|
|
|
{% if message.body_html %}
|
|
|
|
|
{{ message.body_html | safe }}
|
|
|
|
|
{% elif message.body %}
|
|
|
|
|
{{ message.body | e | replace('\n', '<br>') | safe }}
|
|
|
|
|
{% else %}
|
|
|
|
|
<div class="empty-copy">Ingen tekst gemt i denne besked.</div>
|
|
|
|
|
{% endif %}
|
|
|
|
|
</div>
|
|
|
|
|
</article>
|
|
|
|
|
{% endfor %}
|
2026-02-08 01:45:00 +01:00
|
|
|
</div>
|
2026-07-03 20:20:22 +02:00
|
|
|
{% else %}
|
|
|
|
|
<div class="empty-copy">Ingen kommentarer eller emails blev fundet for den arkiverede ticket.</div>
|
|
|
|
|
{% endif %}
|
|
|
|
|
</section>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<aside class="surface-card sidebar-card">
|
|
|
|
|
<h3 class="sidebar-title">Sagsmetadata</h3>
|
|
|
|
|
<div class="meta-list">
|
|
|
|
|
<div class="meta-row">
|
|
|
|
|
<div class="meta-label">Organisation</div>
|
|
|
|
|
<div class="meta-value">{{ ticket.organization_name or '-' }}</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="meta-row">
|
|
|
|
|
<div class="meta-label">Kontaktperson</div>
|
|
|
|
|
<div class="meta-value">{{ ticket.contact_name or '-' }}</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="meta-row">
|
|
|
|
|
<div class="meta-label">Afsender-email</div>
|
|
|
|
|
<div class="meta-value {% if not ticket.email_from %}is-muted{% endif %}">{{ ticket.email_from or 'Ikke registreret' }}</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="meta-row">
|
|
|
|
|
<div class="meta-label">Oprettet</div>
|
|
|
|
|
<div class="meta-value {% if not ticket.source_created_at %}is-muted{% endif %}">
|
|
|
|
|
{% if ticket.source_created_at %}
|
|
|
|
|
{{ ticket.source_created_at.strftime('%d/%m/%Y %H:%M') }}
|
|
|
|
|
{% else %}
|
|
|
|
|
Ikke registreret
|
2026-02-08 01:45:00 +01:00
|
|
|
{% endif %}
|
|
|
|
|
</div>
|
2026-07-03 20:20:22 +02:00
|
|
|
</div>
|
|
|
|
|
<div class="meta-row">
|
|
|
|
|
<div class="meta-label">Opdateret</div>
|
|
|
|
|
<div class="meta-value {% if not ticket.source_updated_at %}is-muted{% endif %}">
|
|
|
|
|
{% if ticket.source_updated_at %}
|
|
|
|
|
{{ ticket.source_updated_at.strftime('%d/%m/%Y %H:%M') }}
|
2026-02-08 01:45:00 +01:00
|
|
|
{% else %}
|
2026-07-03 20:20:22 +02:00
|
|
|
Ikke registreret
|
2026-02-08 01:45:00 +01:00
|
|
|
{% endif %}
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
2026-07-03 20:20:22 +02:00
|
|
|
<div class="meta-row">
|
|
|
|
|
<div class="meta-label">Prioritet</div>
|
|
|
|
|
<div class="meta-value {% if not ticket.priority %}is-muted{% endif %}">
|
|
|
|
|
{{ ticket.priority.replace('_', ' ').title() if ticket.priority else 'Ikke angivet' }}
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="meta-row">
|
|
|
|
|
<div class="meta-label">Status</div>
|
|
|
|
|
<div class="meta-value {% if not ticket.status %}is-muted{% endif %}">
|
|
|
|
|
{{ ticket.status.replace('_', ' ').title() if ticket.status else 'Ikke angivet' }}
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</aside>
|
2026-02-08 01:45:00 +01:00
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
{% endblock %}
|