mirror of
https://github.com/commercialhaskell/stackage-server.git
synced 2026-02-08 00:57:27 +01:00
Only show 50 entries
This commit is contained in:
parent
f39c950448
commit
add86d4417
@ -157,7 +157,7 @@ getPackageSnapshotsR :: PackageNameP -> Handler Html
|
|||||||
getPackageSnapshotsR pn =
|
getPackageSnapshotsR pn =
|
||||||
track "Handler.Package.getPackageSnapshotsR" $ do
|
track "Handler.Package.getPackageSnapshotsR" $ do
|
||||||
cacheSeconds $ 60 * 60 * 24
|
cacheSeconds $ 60 * 60 * 24
|
||||||
snapshots <- getSnapshotsForPackage pn Nothing
|
snapshots <- getSnapshotsForPackage pn (Just 50)
|
||||||
defaultLayout
|
defaultLayout
|
||||||
(do setTitle ("Packages for " >> toHtml pn)
|
(do setTitle ("Packages for " >> toHtml pn)
|
||||||
$(combineStylesheets 'StaticR [css_font_awesome_min_css])
|
$(combineStylesheets 'StaticR [css_font_awesome_min_css])
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user