Hamlet fixups

Fixes #325
This commit is contained in:
Bryan Richter 2024-04-17 13:10:56 +03:00
parent 2cafc53abf
commit 09405c186f
No known key found for this signature in database
GPG Key ID: B202264020068BFB
2 changed files with 15 additions and 13 deletions

View File

@ -1,18 +1,20 @@
$newline never
<div .container #snapshot-home .content>
<div .row>
<div .span12>
<h1>Snapshots containing #{toHtml pn}
<p>Back to <a href=@{PackageR pn}>#{toHtml pn}
<p>Back to
<a href=@{PackageR pn}>#{toHtml pn}
<table .table .snapshots>
<thead>
<th>
Package version
<th>
Snapshot
$forall (compiler, spi) <- snapshots
<tr>
<td>
#{spiVersionRev spi}
<td>
<a href=@{SnapshotR (spiSnapName spi) $ StackageSdistR $ PNVName pn}>#{snapshotPrettyName (spiSnapName spi) compiler}
<th>
Package version
<th>
Snapshot
<tbody>
$forall (compiler, spi) <- snapshots
<tr>
<td>
#{spiVersionRev spi}
<td>
<a href=@{SnapshotR (spiSnapName spi) $ StackageSdistR $ PNVName pn}>#{snapshotPrettyName (spiSnapName spi) compiler}

View File

@ -120,7 +120,7 @@ $newline never
$if (sppiForwardDepsCount sppi > 0)
<div .dependencies #dependencies>
Depends on #{renderNumPackages (sppiForwardDepsCount sppi)}
<em>(<a href=@{makeDepsLink spi SnapshotPackageDepsR}>full list with versions</a>)</em>:
\<em>(<a href=@{makeDepsLink spi SnapshotPackageDepsR}>full list with versions</a>)</em>:
<div .dep-list>
$forall (i, (name, range)) <- enumerate (sppiForwardDeps sppi)
$if i /= 0
@ -132,7 +132,7 @@ $newline never
$if (sppiReverseDepsCount sppi > 0)
<div .reverse-dependencies #reverse-dependencies>
Used by #{renderNumPackages (sppiReverseDepsCount sppi)} in <b>#{spiSnapName spi}</b>
<em>(<a href=@{makeDepsLink spi SnapshotPackageRevDepsR}>full list with versions</a>)</em>:
\<em>(<a href=@{makeDepsLink spi SnapshotPackageRevDepsR}>full list with versions</a>)</em>:
<div .dep-list>
$forall (i, (name, range)) <- enumerate (sppiReverseDeps sppi)
$if i /= 0