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

Add alphabetical artist overview (#26)

This commit is contained in:
Arne Schlüter 2018-10-16 11:05:16 +02:00 committed by GitHub
commit 10f2e32ecd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 76 additions and 11 deletions

View file

@ -73,7 +73,8 @@
[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 {:criteria "starred"})} "Starred"]
[{:href (url-for ::routes/artist.overview)} "By artist"]]])
(when podcast-role
#_(let [podcast-url (url-for ::routes/podcast.overview)]
[navbar-dropdown "Podcast" {:href podcast-url}
@ -111,6 +112,7 @@
[breadcrumbs route content]
(case route-id
::routes/library [library/main route content]
::routes/artist.overview [artist/overview content]
::routes/artist.detail [artist/detail content]
::routes/album.detail [collection/detail content]
::routes/search [search/results content]