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:
parent
ad9629d3f3
commit
6d29553844
2 changed files with 5 additions and 0 deletions
|
@ -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
|
||||
|
|
|
@ -34,3 +34,7 @@ $# <http://creativecommons.org/publicdomain/zero/1.0/>.
|
|||
<h2>#{ticketTitle ticket}
|
||||
|
||||
^{desc}
|
||||
|
||||
<h3>Discussion
|
||||
|
||||
^{discussionW $ ticketDiscuss ticket}
|
||||
|
|
Loading…
Reference in a new issue