yesod-paginator 0.3 → 0.3.2
raw patch · 2 files changed
+6/−6 lines, 2 filesdep ~persistentdep ~yesod
Dependency ranges changed: persistent, yesod
Files
- Yesod/Paginator/Widget.hs +3/−3
- yesod-paginator.cabal +3/−3
Yesod/Paginator/Widget.hs view
@@ -37,7 +37,7 @@ showLink params (Enabled pg cnt cls) = do let param = ("p", showT pg) - [whamlet|+ [whamlet|$newline never <li .#{cls}> <a href="#{updateGetParam params param}">#{cnt} |]@@ -49,7 +49,7 @@ . (++ [(p, n)]) . filter ((/= p) . fst) $ getParams showLink _ (Disabled cnt cls) =- [whamlet|+ [whamlet|$newline never <li .#{cls} .disabled> <a>#{cnt} |]@@ -72,7 +72,7 @@ when (pages > 1) $ do curParams <- lift $ fmap reqGetParams getRequest - [whamlet|+ [whamlet|$newline never <ul> $forall link <- buildLinks page pages ^{showLink curParams link}
yesod-paginator.cabal view
@@ -1,5 +1,5 @@ name: yesod-paginator-version: 0.3+version: 0.3.2 synopsis: A pagination approach for yesod description: Paginate a list showing a per-item widget and links to other pages homepage: http://github.com/pbrisbin/yesod-paginator@@ -17,8 +17,8 @@ build-depends: base >= 4 && < 5 , text >= 0.11 && < 0.12- , yesod >= 0.10 && < 1.1- , persistent >= 0.8 && < 0.10+ , yesod >= 1.1 && < 1.2+ , persistent >= 0.8 && < 1.1 , transformers ghc-options: -Wall