diff --git a/approot/artist.xml b/approot/artist.xml index 47372a71..2b3f5730 100644 --- a/approot/artist.xml +++ b/approot/artist.xml @@ -6,20 +6,18 @@

${name}

${clusters class="mb-2"} -
- ${play-btn class="btn btn-primary me-2"} - +
+ ${play-btn class="btn btn-primary"} +
${} diff --git a/approot/artists.xml b/approot/artists.xml index 6b566a2c..a0fd6409 100644 --- a/approot/artists.xml +++ b/approot/artists.xml @@ -4,7 +4,7 @@
- -
- ${play-btn class="btn btn-primary me-2"} - +
+ ${play-btn class="btn btn-primary"} +
${tracks} diff --git a/src/lms/ui/explore/ArtistView.cpp b/src/lms/ui/explore/ArtistView.cpp index c53c3247..4d6212ab 100644 --- a/src/lms/ui/explore/ArtistView.cpp +++ b/src/lms/ui/explore/ArtistView.cpp @@ -138,8 +138,7 @@ Artist::refreshView() bindString("name", Wt::WString::fromUTF8(artist->getName()), Wt::TextFormat::Plain); - bindNew("more-btn", Wt::WString::tr("Lms.Explore.template.more-btn"), Wt::TextFormat::XHTML); - bindNew("play-btn", Wt::WString::tr("Lms.Explore.template.play-btn"), Wt::TextFormat::XHTML) + bindNew("play-btn", Wt::WString::tr("Lms.Explore.play"), Wt::TextFormat::XHTML) ->clicked().connect([=] { artistsAction.emit(PlayQueueAction::Play, {_artistId}); diff --git a/src/lms/ui/explore/ReleaseView.cpp b/src/lms/ui/explore/ReleaseView.cpp index ef67908d..824e5027 100644 --- a/src/lms/ui/explore/ReleaseView.cpp +++ b/src/lms/ui/explore/ReleaseView.cpp @@ -151,8 +151,7 @@ Release::refreshView() } } - bindNew("more-btn", Wt::WString::tr("Lms.Explore.template.more-btn"), Wt::TextFormat::XHTML); - bindNew("play-btn", Wt::WString::tr("Lms.Explore.template.play-btn"), Wt::TextFormat::XHTML) + bindNew("play-btn", Wt::WString::tr("Lms.Explore.play"), Wt::TextFormat::XHTML) ->clicked().connect([=] { releasesAction.emit(PlayQueueAction::Play, {*releaseId}); diff --git a/src/lms/ui/explore/ReleasesView.cpp b/src/lms/ui/explore/ReleasesView.cpp index 7fc62e54..8ada8c37 100644 --- a/src/lms/ui/explore/ReleasesView.cpp +++ b/src/lms/ui/explore/ReleasesView.cpp @@ -66,13 +66,12 @@ Releases::Releases(Filters& filters) bindMenuItem("recently-added", Wt::WString::tr("Lms.Explore.recently-added"), ReleaseCollector::Mode::RecentlyAdded); bindMenuItem("all", Wt::WString::tr("Lms.Explore.all"), ReleaseCollector::Mode::All); - Wt::WPushButton* playBtn {bindNew("play-btn", Wt::WString::tr("Lms.Explore.template.play-btn"), Wt::TextFormat::XHTML)}; + Wt::WPushButton* playBtn {bindNew("play-btn", Wt::WString::tr("Lms.Explore.play"), Wt::TextFormat::XHTML)}; playBtn->clicked().connect([this] { releasesAction.emit(PlayQueueAction::Play, getAllReleases()); }); - bindNew("more-btn", Wt::WString::tr("Lms.Explore.template.more-btn"), Wt::TextFormat::XHTML); bindNew("play-shuffled", Wt::WString::tr("Lms.Explore.play-shuffled"), Wt::TextFormat::Plain) ->clicked().connect([=] { diff --git a/src/lms/ui/explore/TracksView.cpp b/src/lms/ui/explore/TracksView.cpp index 732b0fb4..9ef7998f 100644 --- a/src/lms/ui/explore/TracksView.cpp +++ b/src/lms/ui/explore/TracksView.cpp @@ -66,13 +66,12 @@ _trackCollector {filters, _defaultMode, _maxCount} bindMenuItem("recently-added", Wt::WString::tr("Lms.Explore.recently-added"), TrackCollector::Mode::RecentlyAdded); bindMenuItem("all", Wt::WString::tr("Lms.Explore.all"), TrackCollector::Mode::All); - bindNew("play-btn", Wt::WString::tr("Lms.Explore.template.play-btn"), Wt::TextFormat::XHTML) + bindNew("play-btn", Wt::WString::tr("Lms.Explore.play"), Wt::TextFormat::XHTML) ->clicked().connect([=] { tracksAction.emit(PlayQueueAction::Play, getAllTracks()); }); - bindNew("more-btn", Wt::WString::tr("Lms.Explore.template.more-btn"), Wt::TextFormat::XHTML); bindNew("play-shuffled", Wt::WString::tr("Lms.Explore.play-shuffled"), Wt::TextFormat::Plain) ->clicked().connect([=] {