mirror of
https://github.com/input-output-hk/foliage.git
synced 2024-11-22 11:12:50 +03:00
Fix revisions timestamp on package page
This commit is contained in:
parent
ae45f208a2
commit
b5e4f43dd2
@ -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
|
||||
]
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user