mirror of https://github.com/voidlizard/hbs2
wip
This commit is contained in:
parent
85cdc96077
commit
d814768568
|
@ -22,6 +22,7 @@ module HBS2.Git.DashBoard.Fixme
|
|||
, FixmeAttrVal(..)
|
||||
, FixmeOpts(..)
|
||||
, fixmePageSize
|
||||
, fixmeGet
|
||||
) where
|
||||
|
||||
import HBS2.Git.DashBoard.Prelude
|
||||
|
|
|
@ -969,11 +969,16 @@ repoFixme q@(FromParams p') lww = do
|
|||
toHtml (H $ fixmeTitle fixme)
|
||||
tr_ [class_ "commit-brief-details"] $ do
|
||||
td_ [colspan_ "3"] do
|
||||
mempty
|
||||
let mco = fixmeGet "commit-time" fixme & pretty & show & readMay @Word64
|
||||
let mw = fixmeGet "workflow" fixme <&> coerce @_ @Text
|
||||
|
||||
-- small_ do
|
||||
-- for_ (fixmeTs fixme) $ \t0 -> do
|
||||
-- toHtml ("updated " <> agePure (fromIntegral t0) now)
|
||||
small_ do
|
||||
for_ mw $ \w -> do
|
||||
span_ [] (toHtml $ show $ brackets $ pretty w)
|
||||
" "
|
||||
|
||||
for_ mco $ \co ->
|
||||
span_ [] $ toHtml $ show $ brackets ("commited" <+> pretty (agePure co now))
|
||||
|
||||
unless (List.null fme) do
|
||||
tr_ [ class_ "commit-brief-last"
|
||||
|
|
Loading…
Reference in New Issue