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

Use proper capitalization

This commit is contained in:
heyarne 2019-12-08 01:26:21 +01:00
commit fa9ae5b908
5 changed files with 12 additions and 12 deletions

View file

@ -51,8 +51,8 @@
(:title song)])
(defn song-actions [song]
[dropdown {:items [{:label "Play next" :event [:audio-player/enqueue-next song]}
{:label "Play last" :event [:audio-player/enqueue-last song]}]}])
[dropdown {:items [{:label "Play Next" :event [:audio-player/enqueue-next song]}
{:label "Play Last" :event [:audio-player/enqueue-last song]}]}])
(defn default-thead []
[:thead>tr

View file

@ -53,8 +53,8 @@
(defn tab-items [[current-id current-params :as current-route]]
(->>
[[[::routes/library {:kind "recent"}] "Recently played"]
[[::routes/library {:kind "newest"}] "Newest additions"]
[[[::routes/library {:kind "recent"}] "Recently Played"]
[[::routes/library {:kind "newest"}] "Newest Additions"]
[[::routes/library {:kind "starred"}] "Starred"]
[[::routes/artist.overview] "Artists"]]
(map (fn [[[id params :as route] label]]
@ -85,7 +85,7 @@
[:div
[tab-section current-route]
[:section.hero.single-line.is-small>div.hero-body>div.container
[:h2.title "Your library"]
[:h2.title "Your Library"]
(if (:count scan-status)
[:p.subtitle.is-5.has-text-grey [:strong (:count scan-status)] " items"]
(when (:scanning scan-status)

View file

@ -29,11 +29,11 @@
(defn- episode-actions [episode]
(case (:status episode)
"completed"
[[:td>a {:title "Play next"
[[:td>a {:title "Play Next"
:href "#"
:on-click (muted-dispatch [:audio-player/enqueue-next episode])}
[icon :plus]]
[:td>a {:title "Play last"
[:td>a {:title "Play Last"
:href "#"
:on-click (muted-dispatch [:audio-player/enqueue-last episode])}
[icon :caret-right]]]

View file

@ -75,10 +75,10 @@
:title "Current queue"} [:span.heart-beat [icon :audio-spectrum]]]
(when stream-role
[navbar-dropdown "Library"
[[{:href (url-for ::routes/library {:kind "recent"})} "Recently played"]
[{:href (url-for ::routes/library {:kind "newest"})} "Newest additions"]
[[{: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"]]])
[{:href (url-for ::routes/artist.overview)} "Artists"]]])
(when podcast-role
#_(let [podcast-url (url-for ::routes/podcast.overview)]
[navbar-dropdown "Podcast" {:href podcast-url}

View file

@ -28,8 +28,8 @@
[bulma-breadcrumbs
[(url-for ::routes/library {:kind "recent"}) "Library"]
(case (:kind params)
"recent" "Recently played"
"newest" "Newest additions"
"recent" "Recently Played"
"newest" "Newest Additions"
"starred" "Starred")])
(defmethod breadcrumbs ::routes/artist.overview [_ _]