mirror of
https://github.com/input-output-hk/foliage.git
synced 2024-11-22 19:28:17 +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 $
|
renderMustache packageVersionPageTemplate $
|
||||||
object
|
object
|
||||||
[ "pkgVersionSource" .= pkgVersionSource,
|
[ "pkgVersionSource" .= pkgVersionSource,
|
||||||
"cabalFileRevisions" .= cabalFileRevisions,
|
"cabalFileRevisions" .= map fst cabalFileRevisions,
|
||||||
"pkgDesc" .= jsonGenericPackageDescription pkgDesc,
|
"pkgDesc" .= jsonGenericPackageDescription pkgDesc,
|
||||||
"pkgTimestamp" .= pkgTimestamp
|
"pkgTimestamp" .= pkgTimestamp
|
||||||
]
|
]
|
||||||
|
@ -55,7 +55,7 @@
|
|||||||
<dt class="col-sm-3">Revisions</dt>
|
<dt class="col-sm-3">Revisions</dt>
|
||||||
<dd class="col-sm-9">
|
<dd class="col-sm-9">
|
||||||
{{#cabalFileRevisions}}
|
{{#cabalFileRevisions}}
|
||||||
<p>{{revisionTimestamp}}</p>
|
<p>{{.}}</p>
|
||||||
{{/cabalFileRevisions}}
|
{{/cabalFileRevisions}}
|
||||||
{{^cabalFileRevisions}}
|
{{^cabalFileRevisions}}
|
||||||
<p>None</p>
|
<p>None</p>
|
||||||
|
Loading…
Reference in New Issue
Block a user