2016-05-01 11:58:55 +02:00
|
|
|
$# This file is part of Vervis.
|
|
|
|
$#
|
2020-01-05 15:33:10 +01:00
|
|
|
$# Written in 2016, 2018, 2019, 2020 by fr33domlover <fr33domlover@riseup.net>.
|
2016-05-01 11:58:55 +02:00
|
|
|
$#
|
|
|
|
$# ♡ Copying is an act of love. Please copy, reuse and share.
|
|
|
|
$#
|
|
|
|
$# The author(s) have dedicated all copyright and related and neighboring
|
|
|
|
$# rights to this software to the public domain worldwide. This software is
|
|
|
|
$# distributed without any warranty.
|
|
|
|
$#
|
|
|
|
$# You should have received a copy of the CC0 Public Domain Dedication along
|
|
|
|
$# with this software. If not, see
|
|
|
|
$# <http://creativecommons.org/publicdomain/zero/1.0/>.
|
|
|
|
|
2020-01-17 22:52:29 +01:00
|
|
|
<h2>#{preEscapedToHtml $ ticketTitle ticket}
|
2019-10-19 13:21:29 +02:00
|
|
|
|
|
|
|
<div>
|
|
|
|
Created on #{showDate $ ticketCreated ticket} by
|
|
|
|
^{sharerLinkFedW author}
|
|
|
|
|
|
|
|
<div>
|
|
|
|
<span>
|
|
|
|
<a href=@{TicketParticipantsR shar proj num}>
|
|
|
|
[🐤 Followers]
|
|
|
|
<span>
|
|
|
|
<a href=@{TicketDepsR shar proj num}>
|
|
|
|
[⤴ Dependencies]
|
|
|
|
<span>
|
|
|
|
<a href=@{TicketReverseDepsR shar proj num}>
|
|
|
|
[⤷ Dependants]
|
|
|
|
<span>
|
|
|
|
<a href=@{ClaimRequestsTicketR shar proj num}>
|
|
|
|
[✋ Claim requests]
|
|
|
|
<span>
|
|
|
|
<a href=@{TicketEditR shar proj num}>
|
|
|
|
[✏ Edit]
|
|
|
|
|
|
|
|
^{followButton}
|
2016-05-02 08:13:57 +02:00
|
|
|
|
2016-07-03 10:25:00 +02:00
|
|
|
<p>
|
2016-07-04 11:58:25 +02:00
|
|
|
Depended by:
|
|
|
|
|
|
|
|
<ul>
|
|
|
|
$if null rdeps
|
|
|
|
<li>(none)
|
|
|
|
$else
|
|
|
|
$forall Entity _ t <- rdeps
|
2016-08-02 15:49:04 +02:00
|
|
|
<li>
|
|
|
|
^{ticketDepW shar proj t}
|
2016-07-03 10:25:00 +02:00
|
|
|
|
|
|
|
<p>
|
2016-07-04 11:58:25 +02:00
|
|
|
Depends on:
|
|
|
|
|
|
|
|
<ul>
|
|
|
|
$if null deps
|
|
|
|
<li>(none)
|
|
|
|
$else
|
|
|
|
$forall Entity _ t <- deps
|
2016-08-02 15:49:04 +02:00
|
|
|
<li>
|
|
|
|
^{ticketDepW shar proj t}
|
2016-07-03 10:25:00 +02:00
|
|
|
|
2019-10-19 13:21:29 +02:00
|
|
|
<div>^{desc}
|
2016-05-01 11:58:55 +02:00
|
|
|
|
2016-08-11 02:44:11 +02:00
|
|
|
$if ticketStatus ticket /= TSClosed
|
2016-06-06 09:36:30 +02:00
|
|
|
<p>
|
2016-06-06 11:03:49 +02:00
|
|
|
$maybe (assignee, me) <- massignee
|
|
|
|
$if me
|
|
|
|
Assigned to you.
|
|
|
|
|
2018-07-11 10:15:19 +02:00
|
|
|
^{buttonW POST "Unclaim this ticket" (TicketUnclaimR shar proj num)}
|
2016-06-06 11:03:49 +02:00
|
|
|
$else
|
2019-06-07 06:26:32 +02:00
|
|
|
Assigned to ^{sharerLinkW assignee}.
|
2016-06-07 09:33:19 +02:00
|
|
|
|
2018-07-11 10:15:19 +02:00
|
|
|
^{buttonW POST "Unassign this ticket" (TicketUnassignR shar proj num)}
|
2016-06-06 09:36:30 +02:00
|
|
|
$nothing
|
2016-06-06 11:03:49 +02:00
|
|
|
Not assigned.
|
|
|
|
|
2016-06-08 03:28:18 +02:00
|
|
|
<a href=@{ClaimRequestNewR shar proj num}>Ask to have it assigned to you
|
|
|
|
|
|
|
|
or
|
|
|
|
|
2018-07-11 10:15:19 +02:00
|
|
|
^{buttonW POST "Claim this ticket" (TicketClaimR shar proj num)}
|
2016-06-01 18:20:19 +02:00
|
|
|
|
2016-06-07 09:33:19 +02:00
|
|
|
or
|
|
|
|
|
|
|
|
<a href=@{TicketAssignR shar proj num}>Assign to someone else
|
|
|
|
.
|
|
|
|
|
2016-05-02 11:15:10 +02:00
|
|
|
<p>
|
2016-06-06 11:03:49 +02:00
|
|
|
Status: #
|
2016-08-11 02:44:11 +02:00
|
|
|
$case ticketStatus ticket
|
|
|
|
$of TSNew
|
|
|
|
Open, new.
|
|
|
|
|
2018-07-11 10:15:19 +02:00
|
|
|
^{buttonW POST "Accept this ticket" (TicketAcceptR shar proj num)}
|
|
|
|
^{buttonW POST "Close this ticket" (TicketCloseR shar proj num)}
|
2016-08-11 02:44:11 +02:00
|
|
|
$of TSTodo
|
|
|
|
Open, to do.
|
|
|
|
|
2018-07-11 10:15:19 +02:00
|
|
|
^{buttonW POST "Close this ticket" (TicketCloseR shar proj num)}
|
2016-08-11 02:44:11 +02:00
|
|
|
$of TSClosed
|
2019-06-07 06:26:32 +02:00
|
|
|
Closed on #{showDate $ ticketClosed ticket}
|
|
|
|
$maybe closer <- mcloser
|
|
|
|
by ^{sharerLinkW closer}.
|
2016-08-11 02:44:11 +02:00
|
|
|
|
2018-07-11 10:15:19 +02:00
|
|
|
^{buttonW POST "Reopen this ticket" (TicketOpenR shar proj num)}
|
2016-05-01 11:58:55 +02:00
|
|
|
|
2016-05-18 12:26:19 +02:00
|
|
|
|
2016-08-08 22:51:58 +02:00
|
|
|
<h3>Custom fields
|
|
|
|
|
|
|
|
<ul>
|
2016-08-10 20:52:26 +02:00
|
|
|
$forall TicketTextParam field mvalue <- tparams
|
2016-08-11 11:27:30 +02:00
|
|
|
<li .#{relevant $ wfsFilter field}>
|
2016-08-10 20:52:26 +02:00
|
|
|
<a href=@{WorkflowFieldR wshr wfl $ wfsIdent field}>
|
|
|
|
#{wfsName field}
|
2016-08-08 22:51:58 +02:00
|
|
|
:
|
|
|
|
$maybe value <- mvalue
|
2016-08-10 20:52:26 +02:00
|
|
|
#{ttpvVal value}
|
2016-08-08 22:51:58 +02:00
|
|
|
$nothing
|
2016-08-10 20:52:26 +02:00
|
|
|
$if wfsRequired field
|
2016-08-08 22:51:58 +02:00
|
|
|
NO VALUE FOR REQUIRED FIELD
|
|
|
|
$else
|
|
|
|
(none)
|
2016-08-10 20:52:26 +02:00
|
|
|
$forall TicketEnumParam field enum mvalue <- eparams
|
2016-08-11 11:27:30 +02:00
|
|
|
<li .#{relevant $ wfsFilter field}>
|
2016-08-10 20:52:26 +02:00
|
|
|
<a href=@{WorkflowFieldR wshr wfl $ wfsIdent field}>
|
|
|
|
#{wfsName field}
|
2016-08-09 13:36:14 +02:00
|
|
|
:
|
2016-08-10 20:52:26 +02:00
|
|
|
$maybe value <- mvalue
|
|
|
|
<a href=@{WorkflowEnumCtorsR wshr wfl $ wesIdent enum}>
|
|
|
|
#{tepvName value}
|
|
|
|
$nothing
|
|
|
|
$if wfsRequired field
|
|
|
|
NO VALUE FOR REQUIRED FIELD
|
|
|
|
$else
|
|
|
|
(none)
|
2020-01-05 15:33:10 +01:00
|
|
|
$forall TicketClassParam field mvalue <- cparams
|
|
|
|
<li .#{relevant $ wfsFilter field}>
|
|
|
|
<a href=@{WorkflowFieldR wshr wfl $ wfsIdent field}>
|
|
|
|
#{wfsName field}
|
|
|
|
:
|
|
|
|
$maybe _tpcid <- mvalue
|
|
|
|
Yes
|
|
|
|
$nothing
|
|
|
|
No
|
2016-08-08 22:51:58 +02:00
|
|
|
|
2019-10-19 13:21:29 +02:00
|
|
|
<p>
|
|
|
|
^{buttonW DELETE "Delete this ticket" (TicketR shar proj num)}
|
|
|
|
|
2016-05-18 12:26:19 +02:00
|
|
|
<h3>Discussion
|
|
|
|
|
2016-05-21 23:27:12 +02:00
|
|
|
^{discuss}
|