Corrections: Link for UUIDs

This commit is contained in:
SJost 2018-06-21 14:07:21 +02:00
parent 2ea2968e43
commit f232e4d149

View File

@ -76,7 +76,7 @@ getCorrectionsR = do
csh = E.unValue $ $(projNI 4 2) course
shn = sheetName $ entityVal sheet
cid <- encrypt (entityKey submission :: SubmissionId)
[whamlet|@{CSheetR tid csh shn (SubmissionR cid)}|]
[whamlet|<a href=@{CSheetR tid csh shn (SubmissionR cid)}>#{display cid}|]
]
-- TODO continue here
table <- dbTable def $ DBTable