diff --git a/src/Vervis/Handler/Ticket.hs b/src/Vervis/Handler/Ticket.hs index 901c295..7c6bd9e 100644 --- a/src/Vervis/Handler/Ticket.hs +++ b/src/Vervis/Handler/Ticket.hs @@ -53,6 +53,7 @@ import Vervis.MediaType (MediaType (Markdown)) import Vervis.Model import Vervis.Render (renderSourceT) import Vervis.Settings (widgetFile) +import Vervis.Widget.Discussion (discussionW) getTicketsR :: Text -> Text -> Handler Html getTicketsR shar proj = do diff --git a/templates/ticket/one.hamlet b/templates/ticket/one.hamlet index 675a900..f205ce9 100644 --- a/templates/ticket/one.hamlet +++ b/templates/ticket/one.hamlet @@ -34,3 +34,7 @@ $# .

#{ticketTitle ticket} ^{desc} + +

Discussion + +^{discussionW $ ticketDiscuss ticket}