mirror of
https://github.com/heyarne/airsonic-ui.git
synced 2026-05-07 02:33:39 +02:00
Use proper capitalization
This commit is contained in:
parent
1ec18aee5e
commit
fa9ae5b908
5 changed files with 12 additions and 12 deletions
|
|
@ -51,8 +51,8 @@
|
||||||
(:title song)])
|
(:title song)])
|
||||||
|
|
||||||
(defn song-actions [song]
|
(defn song-actions [song]
|
||||||
[dropdown {:items [{:label "Play next" :event [:audio-player/enqueue-next song]}
|
[dropdown {:items [{:label "Play Next" :event [:audio-player/enqueue-next song]}
|
||||||
{:label "Play last" :event [:audio-player/enqueue-last song]}]}])
|
{:label "Play Last" :event [:audio-player/enqueue-last song]}]}])
|
||||||
|
|
||||||
(defn default-thead []
|
(defn default-thead []
|
||||||
[:thead>tr
|
[:thead>tr
|
||||||
|
|
|
||||||
|
|
@ -53,8 +53,8 @@
|
||||||
|
|
||||||
(defn tab-items [[current-id current-params :as current-route]]
|
(defn tab-items [[current-id current-params :as current-route]]
|
||||||
(->>
|
(->>
|
||||||
[[[::routes/library {:kind "recent"}] "Recently played"]
|
[[[::routes/library {:kind "recent"}] "Recently Played"]
|
||||||
[[::routes/library {:kind "newest"}] "Newest additions"]
|
[[::routes/library {:kind "newest"}] "Newest Additions"]
|
||||||
[[::routes/library {:kind "starred"}] "Starred"]
|
[[::routes/library {:kind "starred"}] "Starred"]
|
||||||
[[::routes/artist.overview] "Artists"]]
|
[[::routes/artist.overview] "Artists"]]
|
||||||
(map (fn [[[id params :as route] label]]
|
(map (fn [[[id params :as route] label]]
|
||||||
|
|
@ -85,7 +85,7 @@
|
||||||
[:div
|
[:div
|
||||||
[tab-section current-route]
|
[tab-section current-route]
|
||||||
[:section.hero.single-line.is-small>div.hero-body>div.container
|
[:section.hero.single-line.is-small>div.hero-body>div.container
|
||||||
[:h2.title "Your library"]
|
[:h2.title "Your Library"]
|
||||||
(if (:count scan-status)
|
(if (:count scan-status)
|
||||||
[:p.subtitle.is-5.has-text-grey [:strong (:count scan-status)] " items"]
|
[:p.subtitle.is-5.has-text-grey [:strong (:count scan-status)] " items"]
|
||||||
(when (:scanning scan-status)
|
(when (:scanning scan-status)
|
||||||
|
|
|
||||||
|
|
@ -29,11 +29,11 @@
|
||||||
(defn- episode-actions [episode]
|
(defn- episode-actions [episode]
|
||||||
(case (:status episode)
|
(case (:status episode)
|
||||||
"completed"
|
"completed"
|
||||||
[[:td>a {:title "Play next"
|
[[:td>a {:title "Play Next"
|
||||||
:href "#"
|
:href "#"
|
||||||
:on-click (muted-dispatch [:audio-player/enqueue-next episode])}
|
:on-click (muted-dispatch [:audio-player/enqueue-next episode])}
|
||||||
[icon :plus]]
|
[icon :plus]]
|
||||||
[:td>a {:title "Play last"
|
[:td>a {:title "Play Last"
|
||||||
:href "#"
|
:href "#"
|
||||||
:on-click (muted-dispatch [:audio-player/enqueue-last episode])}
|
:on-click (muted-dispatch [:audio-player/enqueue-last episode])}
|
||||||
[icon :caret-right]]]
|
[icon :caret-right]]]
|
||||||
|
|
|
||||||
|
|
@ -75,10 +75,10 @@
|
||||||
:title "Current queue"} [:span.heart-beat [icon :audio-spectrum]]]
|
:title "Current queue"} [:span.heart-beat [icon :audio-spectrum]]]
|
||||||
(when stream-role
|
(when stream-role
|
||||||
[navbar-dropdown "Library"
|
[navbar-dropdown "Library"
|
||||||
[[{:href (url-for ::routes/library {:kind "recent"})} "Recently played"]
|
[[{:href (url-for ::routes/library {:kind "recent"})} "Recently Played"]
|
||||||
[{:href (url-for ::routes/library {:kind "newest"})} "Newest additions"]
|
[{:href (url-for ::routes/library {:kind "newest"})} "Newest Additions"]
|
||||||
[{:href (url-for ::routes/library {:kind "starred"})} "Starred"]
|
[{:href (url-for ::routes/library {:kind "starred"})} "Starred"]
|
||||||
[{:href (url-for ::routes/artist.overview)} "By artist"]]])
|
[{:href (url-for ::routes/artist.overview)} "Artists"]]])
|
||||||
(when podcast-role
|
(when podcast-role
|
||||||
#_(let [podcast-url (url-for ::routes/podcast.overview)]
|
#_(let [podcast-url (url-for ::routes/podcast.overview)]
|
||||||
[navbar-dropdown "Podcast" {:href podcast-url}
|
[navbar-dropdown "Podcast" {:href podcast-url}
|
||||||
|
|
|
||||||
|
|
@ -28,8 +28,8 @@
|
||||||
[bulma-breadcrumbs
|
[bulma-breadcrumbs
|
||||||
[(url-for ::routes/library {:kind "recent"}) "Library"]
|
[(url-for ::routes/library {:kind "recent"}) "Library"]
|
||||||
(case (:kind params)
|
(case (:kind params)
|
||||||
"recent" "Recently played"
|
"recent" "Recently Played"
|
||||||
"newest" "Newest additions"
|
"newest" "Newest Additions"
|
||||||
"starred" "Starred")])
|
"starred" "Starred")])
|
||||||
|
|
||||||
(defmethod breadcrumbs ::routes/artist.overview [_ _]
|
(defmethod breadcrumbs ::routes/artist.overview [_ _]
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue