Fix revisions timestamp on package page

This commit is contained in:
Andrea Bedini 2023-03-03 18:48:14 +08:00
parent ae45f208a2
commit b5e4f43dd2
2 changed files with 2 additions and 2 deletions

View File

@ -145,7 +145,7 @@ makePackageVersionPage outputDir PreparedPackageVersion {pkgId, pkgTimestamp, pk
renderMustache packageVersionPageTemplate $
object
[ "pkgVersionSource" .= pkgVersionSource,
"cabalFileRevisions" .= cabalFileRevisions,
"cabalFileRevisions" .= map fst cabalFileRevisions,
"pkgDesc" .= jsonGenericPackageDescription pkgDesc,
"pkgTimestamp" .= pkgTimestamp
]

View File

@ -55,7 +55,7 @@
<dt class="col-sm-3">Revisions</dt>
<dd class="col-sm-9">
{{#cabalFileRevisions}}
<p>{{revisionTimestamp}}</p>
<p>{{.}}</p>
{{/cabalFileRevisions}}
{{^cabalFileRevisions}}
<p>None</p>