1
0
Fork 0
mirror of https://code.sup39.dev/repos/Wqawg synced 2024-12-27 18:04:53 +09:00

Use discussion widget in ticket template

This commit is contained in:
fr33domlover 2016-05-18 10:26:19 +00:00
parent ad9629d3f3
commit 6d29553844
2 changed files with 5 additions and 0 deletions

View file

@ -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

View file

@ -34,3 +34,7 @@ $# <http://creativecommons.org/publicdomain/zero/1.0/>.
<h2>#{ticketTitle ticket}
^{desc}
<h3>Discussion
^{discussionW $ ticketDiscuss ticket}