mirror of
https://github.com/input-output-hk/foliage.git
synced 2024-11-26 12:23:38 +03:00
Fix page formatting issue
This commit is contained in:
parent
64f1578369
commit
4f706f9bd9
@ -124,8 +124,6 @@ makeAllPackageVersionsPage currentTime outputDir packageVersions =
|
||||
allPackageVersionsPageEntryTimestamp = fromMaybe currentTime pkgTimestamp,
|
||||
allPackageVersionsPageEntryTimestampPosix = utcTimeToPOSIXSeconds (fromMaybe currentTime pkgTimestamp),
|
||||
allPackageVersionsPageEntrySource = pkgVersionSource,
|
||||
-- FIXME: this weirdly seems to not work (display a `Deprecated` badge on all package version page) ...
|
||||
-- don't understand yet why! :/
|
||||
allPackageVersionsPageEntryDeprecated = pkgVersionIsDeprecated
|
||||
}
|
||||
-- list of revisions
|
||||
|
@ -48,10 +48,11 @@
|
||||
{{#AllPackageVersionsPageEntryPackage}}
|
||||
<tr>
|
||||
<td class="col-sm-2">
|
||||
<a href="../package/{{allPackageVersionsPageEntryPkgId}}">{{allPackageVersionsPageEntryPkgId}}</a></td>
|
||||
<a href="../package/{{allPackageVersionsPageEntryPkgId}}">{{allPackageVersionsPageEntryPkgId}}</a>
|
||||
{{#allPackageVersionsPageEntryDeprecated}}
|
||||
<span class="badge bg-danger">Deprecated</span>
|
||||
{{/allPackageVersionsPageEntryDeprecated}}
|
||||
</td>
|
||||
<td class="col-sm-1">Version</td>
|
||||
<td class="col-sm-3" data-order="{{allPackageVersionsPageEntryTimestampPosix}}">{{allPackageVersionsPageEntryTimestamp}}</td>
|
||||
<td class="col-sm-6">
|
||||
|
Loading…
Reference in New Issue
Block a user