1
0
Fork 0
mirror of https://github.com/heyarne/airsonic-ui.git synced 2026-05-06 18:33:38 +02:00

Add real pagination; fixes #28 (#30)

This commit is contained in:
Arne Schlüter 2018-10-17 16:01:29 +02:00 committed by GitHub
commit cefdcd542e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 133 additions and 43 deletions

View file

@ -71,9 +71,9 @@
:title "Current queue"} [icon :audio-spectrum]]
(when stream-role
[navbar-dropdown "Library"
[[{:href (url-for ::routes/library {:criteria "recent"})} "Recently played"]
[{:href (url-for ::routes/library {:criteria "newest"})} "Newest additions"]
[{:href (url-for ::routes/library {:criteria "starred"})} "Starred"]
[[{:href (url-for ::routes/library {:kind "recent"})} "Recently played"]
[{:href (url-for ::routes/library {:kind "newest"})} "Newest additions"]
[{:href (url-for ::routes/library {:kind "starred"})} "Starred"]
[{:href (url-for ::routes/artist.overview)} "By artist"]]])
(when podcast-role
#_(let [podcast-url (url-for ::routes/podcast.overview)]