- $maybe (assignee, me) <- massignee
- $if me
- Assigned to you.
-
- ^{buttonW POST "Unclaim this ticket" (ProjectTicketUnclaimR shar proj ltkhid)}
- $else
- Assigned to ^{sharerLinkW assignee}.
-
- ^{buttonW POST "Unassign this ticket" (ProjectTicketUnassignR shar proj ltkhid)}
- $nothing
- Not assigned.
-
- Ask to have it assigned to you
-
- or
-
- ^{buttonW POST "Claim this ticket" (ProjectTicketClaimR shar proj ltkhid)}
-
- or
-
- Assign to someone else
- .
+$# $if ticketStatus ticket /= TSClosed
+$#
+$# $maybe (assignee, me) <- massignee
+$# $if me
+$# Assigned to you.
+$#
+$# ^{buttonW POST "Unclaim this ticket" (ProjectTicketUnclaimR deckHash ticketHash)}
+$# $else
+$# Assigned to ^{sharerLinkW assignee}.
+$#
+$# ^{buttonW POST "Unassign this ticket" (ProjectTicketUnassignR deckHash ticketHash)}
+$# $nothing
+$# Not assigned.
+$#
+$# Ask to have it assigned to you
+$#
+$# or
+$#
+$# ^{buttonW POST "Claim this ticket" (ProjectTicketClaimR deckHash ticketHash)}
+$#
+$# or
+$#
+$# Assign to someone else
+$# .
Status: #
@@ -70,16 +69,16 @@ $if ticketStatus ticket /= TSClosed
$of TSNew
Open, new.
- ^{buttonW POST "Accept this ticket" (ProjectTicketAcceptR shar proj ltkhid)}
- ^{buttonW POST "Close this ticket" (ProjectTicketCloseR shar proj ltkhid)}
+$# ^{buttonW POST "Accept this ticket" (ProjectTicketAcceptR deckHash ticketHash)}
+$# ^{buttonW POST "Close this ticket" (ProjectTicketCloseR deckHash ticketHash)}
$of TSTodo
Open, to do.
- ^{buttonW POST "Close this ticket" (ProjectTicketCloseR shar proj ltkhid)}
+$# ^{buttonW POST "Close this ticket" (ProjectTicketCloseR deckHash ticketHash)}
$of TSClosed
Closed on ___ by ___.
- ^{buttonW POST "Reopen this ticket" (ProjectTicketOpenR shar proj ltkhid)}
+$# ^{buttonW POST "Reopen this ticket" (ProjectTicketOpenR deckHash ticketHash)}
- ^{buttonW DELETE "Delete this ticket" (ProjectTicketR shar proj ltkhid)}
+$#
+$# ^{buttonW DELETE "Delete this ticket" (ProjectTicketR deckHash ticketHash)}
Custom fields
@@ -87,7 +86,7 @@ $if ticketStatus ticket /= TSClosed
$forall TicketTextParam field mvalue <- tparams
Discussion
diff --git a/th/routes b/th/routes
index 01f9db0..cee1148 100644
--- a/th/routes
+++ b/th/routes
@@ -146,6 +146,8 @@
/people/#PersonKeyHashid/follow PersonFollowR POST
/people/#PersonKeyHashid/unfollow PersonUnfollowR POST
+/reply/#MessageKeyHashid ReplyR POST
+
---- Group ------------------------------------------------------------------
/groups/#GroupKeyHashid GroupR GET
@@ -218,9 +220,9 @@
-- /decks/#DeckKeyHashid/tickets/#TicketDeckKeyHashid/unclaim TicketUnclaimR POST
-- /decks/#DeckKeyHashid/tickets/#TicketDeckKeyHashid/assign TicketAssignR GET POST
-- /decks/#DeckKeyHashid/tickets/#TicketDeckKeyHashid/unassign TicketUnassignR POST
--- /decks/#DeckKeyHashid/tickets/#TicketDeckKeyHashid/follow TicketFollowR POST
--- /decks/#DeckKeyHashid/tickets/#TicketDeckKeyHashid/unfollow TicketUnfollowR POST
--- /decks/#DeckKeyHashid/tickets/#TicketDeckKeyHashid/reply TicketTopReplyR GET POST
+/decks/#DeckKeyHashid/tickets/#TicketDeckKeyHashid/follow TicketFollowR POST
+/decks/#DeckKeyHashid/tickets/#TicketDeckKeyHashid/unfollow TicketUnfollowR POST
+/decks/#DeckKeyHashid/tickets/#TicketDeckKeyHashid/reply TicketReplyR POST
---- Ticket Dependency -------------------------------------------------------
diff --git a/vervis.cabal b/vervis.cabal
index d1fa45a..d6b51ac 100644
--- a/vervis.cabal
+++ b/vervis.cabal
@@ -176,7 +176,6 @@ library
Vervis.Handler.Cloth
Vervis.Handler.Common
Vervis.Handler.Deck
- Vervis.Handler.Discussion
-- Vervis.Handler.Git
Vervis.Handler.Group
--Vervis.Handler.Inbox
@@ -227,6 +226,7 @@ library
Vervis.Web.Actor
Vervis.Web.Darcs
+ Vervis.Web.Discussion
Vervis.Web.Git
Vervis.Web.Repo