2016-05-01 18:58:55 +09:00
|
|
|
$# This file is part of Vervis.
|
|
|
|
$#
|
2020-01-05 23:33:10 +09:00
|
|
|
$# Written in 2016, 2018, 2019, 2020 by fr33domlover <fr33domlover@riseup.net>.
|
2016-05-01 18:58:55 +09: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-18 06:52:29 +09:00
|
|
|
<h2>#{preEscapedToHtml $ ticketTitle ticket}
|
2019-10-19 20:21:29 +09:00
|
|
|
|
|
|
|
<div>
|
|
|
|
Created on #{showDate $ ticketCreated ticket} by
|
|
|
|
^{sharerLinkFedW author}
|
|
|
|
|
|
|
|
<div>
|
|
|
|
<span>
|
2020-04-09 16:36:01 +09:00
|
|
|
<a href=@{ProjectTicketParticipantsR shar proj ltkhid}>
|
2019-10-19 20:21:29 +09:00
|
|
|
[🐤 Followers]
|
|
|
|
<span>
|
2020-04-09 16:36:01 +09:00
|
|
|
<a href=@{ProjectTicketDepsR shar proj ltkhid}>
|
2019-10-19 20:21:29 +09:00
|
|
|
[⤴ Dependencies]
|
|
|
|
<span>
|
2020-04-09 16:36:01 +09:00
|
|
|
<a href=@{ProjectTicketReverseDepsR shar proj ltkhid}>
|
2019-10-19 20:21:29 +09:00
|
|
|
[⤷ Dependants]
|
|
|
|
<span>
|
2020-02-06 09:52:15 +09:00
|
|
|
<a href=@{ClaimRequestsTicketR shar proj ltkhid}>
|
2019-10-19 20:21:29 +09:00
|
|
|
[✋ Claim requests]
|
|
|
|
<span>
|
2020-04-09 16:36:01 +09:00
|
|
|
<a href=@{ProjectTicketEditR shar proj ltkhid}>
|
2019-10-19 20:21:29 +09:00
|
|
|
[✏ Edit]
|
|
|
|
|
|
|
|
^{followButton}
|
2016-05-02 15:13:57 +09:00
|
|
|
|
2019-10-19 20:21:29 +09:00
|
|
|
<div>^{desc}
|
2016-05-01 18:58:55 +09:00
|
|
|
|
2016-08-11 09:44:11 +09:00
|
|
|
$if ticketStatus ticket /= TSClosed
|
2016-06-06 16:36:30 +09:00
|
|
|
<p>
|
2016-06-06 18:03:49 +09:00
|
|
|
$maybe (assignee, me) <- massignee
|
|
|
|
$if me
|
|
|
|
Assigned to you.
|
|
|
|
|
2020-04-09 16:36:01 +09:00
|
|
|
^{buttonW POST "Unclaim this ticket" (ProjectTicketUnclaimR shar proj ltkhid)}
|
2016-06-06 18:03:49 +09:00
|
|
|
$else
|
2019-06-07 13:26:32 +09:00
|
|
|
Assigned to ^{sharerLinkW assignee}.
|
2016-06-07 16:33:19 +09:00
|
|
|
|
2020-04-09 16:36:01 +09:00
|
|
|
^{buttonW POST "Unassign this ticket" (ProjectTicketUnassignR shar proj ltkhid)}
|
2016-06-06 16:36:30 +09:00
|
|
|
$nothing
|
2016-06-06 18:03:49 +09:00
|
|
|
Not assigned.
|
|
|
|
|
2020-02-06 09:52:15 +09:00
|
|
|
<a href=@{ClaimRequestNewR shar proj ltkhid}>Ask to have it assigned to you
|
2016-06-08 10:28:18 +09:00
|
|
|
|
|
|
|
or
|
|
|
|
|
2020-04-09 16:36:01 +09:00
|
|
|
^{buttonW POST "Claim this ticket" (ProjectTicketClaimR shar proj ltkhid)}
|
2016-06-02 01:20:19 +09:00
|
|
|
|
2016-06-07 16:33:19 +09:00
|
|
|
or
|
|
|
|
|
2020-04-09 16:36:01 +09:00
|
|
|
<a href=@{ProjectTicketAssignR shar proj ltkhid}>Assign to someone else
|
2016-06-07 16:33:19 +09:00
|
|
|
.
|
|
|
|
|
2016-05-02 18:15:10 +09:00
|
|
|
<p>
|
2016-06-06 18:03:49 +09:00
|
|
|
Status: #
|
2016-08-11 09:44:11 +09:00
|
|
|
$case ticketStatus ticket
|
|
|
|
$of TSNew
|
|
|
|
Open, new.
|
|
|
|
|
2020-04-09 16:36:01 +09:00
|
|
|
^{buttonW POST "Accept this ticket" (ProjectTicketAcceptR shar proj ltkhid)}
|
|
|
|
^{buttonW POST "Close this ticket" (ProjectTicketCloseR shar proj ltkhid)}
|
2016-08-11 09:44:11 +09:00
|
|
|
$of TSTodo
|
|
|
|
Open, to do.
|
|
|
|
|
2020-04-09 16:36:01 +09:00
|
|
|
^{buttonW POST "Close this ticket" (ProjectTicketCloseR shar proj ltkhid)}
|
2016-08-11 09:44:11 +09:00
|
|
|
$of TSClosed
|
2019-06-07 13:26:32 +09:00
|
|
|
Closed on #{showDate $ ticketClosed ticket}
|
|
|
|
$maybe closer <- mcloser
|
|
|
|
by ^{sharerLinkW closer}.
|
2016-08-11 09:44:11 +09:00
|
|
|
|
2020-04-09 16:36:01 +09:00
|
|
|
^{buttonW POST "Reopen this ticket" (ProjectTicketOpenR shar proj ltkhid)}
|
2016-05-01 18:58:55 +09:00
|
|
|
|
2016-05-18 19:26:19 +09:00
|
|
|
|
2016-08-09 05:51:58 +09:00
|
|
|
<h3>Custom fields
|
|
|
|
|
|
|
|
<ul>
|
2016-08-11 03:52:26 +09:00
|
|
|
$forall TicketTextParam field mvalue <- tparams
|
2016-08-11 18:27:30 +09:00
|
|
|
<li .#{relevant $ wfsFilter field}>
|
2016-08-11 03:52:26 +09:00
|
|
|
<a href=@{WorkflowFieldR wshr wfl $ wfsIdent field}>
|
|
|
|
#{wfsName field}
|
2016-08-09 05:51:58 +09:00
|
|
|
:
|
|
|
|
$maybe value <- mvalue
|
2016-08-11 03:52:26 +09:00
|
|
|
#{ttpvVal value}
|
2016-08-09 05:51:58 +09:00
|
|
|
$nothing
|
2016-08-11 03:52:26 +09:00
|
|
|
$if wfsRequired field
|
2016-08-09 05:51:58 +09:00
|
|
|
NO VALUE FOR REQUIRED FIELD
|
|
|
|
$else
|
|
|
|
(none)
|
2016-08-11 03:52:26 +09:00
|
|
|
$forall TicketEnumParam field enum mvalue <- eparams
|
2016-08-11 18:27:30 +09:00
|
|
|
<li .#{relevant $ wfsFilter field}>
|
2016-08-11 03:52:26 +09:00
|
|
|
<a href=@{WorkflowFieldR wshr wfl $ wfsIdent field}>
|
|
|
|
#{wfsName field}
|
2016-08-09 20:36:14 +09:00
|
|
|
:
|
2016-08-11 03:52:26 +09: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 23:33:10 +09: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-09 05:51:58 +09:00
|
|
|
|
2019-10-19 20:21:29 +09:00
|
|
|
<p>
|
2020-04-09 16:36:01 +09:00
|
|
|
^{buttonW DELETE "Delete this ticket" (ProjectTicketR shar proj ltkhid)}
|
2019-10-19 20:21:29 +09:00
|
|
|
|
2016-05-18 19:26:19 +09:00
|
|
|
<h3>Discussion
|
|
|
|
|
2016-05-22 06:27:12 +09:00
|
|
|
^{discuss}
|