diff --git a/approot/release.xml b/approot/release.xml
index 4d58d83e..dbe29c90 100644
--- a/approot/release.xml
+++ b/approot/release.xml
@@ -65,10 +65,8 @@
${}${track-number}${}
${duration}
diff --git a/approot/tracks.xml b/approot/tracks.xml
index 081c3618..9cc88ac9 100644
--- a/approot/tracks.xml
+++ b/approot/tracks.xml
@@ -40,21 +40,19 @@
-
-
-
- ${cover}
+
+
+
+ ${cover}
+
+
+
+
${name}
+ ${
}${release class="text-decoration-none link-sucess"}${}
+
+
+ ${duration}
-
-
- ${name}
- ${}
- ${}${release}${}
- ${}${artists}${}
- ${}
-
-
- ${duration}
${play-btn class="btn btn-sm btn-outline-secondary border-0"}
@@ -68,10 +66,11 @@
+
- ${artist class="Lms-btn Lms-artistname text-muted"}
+ ${artist class="text-decoration-none link-secondary"}
diff --git a/src/lms/ui/LmsApplication.cpp b/src/lms/ui/LmsApplication.cpp
index 51e92b4f..0b541df6 100644
--- a/src/lms/ui/LmsApplication.cpp
+++ b/src/lms/ui/LmsApplication.cpp
@@ -293,7 +293,6 @@ LmsApplication::createReleaseAnchor(Database::Release::pointer release, bool add
if (addText)
{
- res->setWordWrap(false);
res->setTextFormat(Wt::TextFormat::Plain);
res->setText(Wt::WString::fromUTF8(release->getName()));
res->setToolTip(Wt::WString::fromUTF8(release->getName()), Wt::TextFormat::Plain);
diff --git a/src/lms/ui/explore/TrackListHelpers.cpp b/src/lms/ui/explore/TrackListHelpers.cpp
index d8713b22..3670c053 100644
--- a/src/lms/ui/explore/TrackListHelpers.cpp
+++ b/src/lms/ui/explore/TrackListHelpers.cpp
@@ -49,28 +49,12 @@ namespace UserInterface::TrackListHelpers
auto entry {std::make_unique
(Wt::WString::tr("Lms.Explore.Tracks.template.entry"))};
auto* entryPtr {entry.get()};
- Wt::WText* name {entry->bindNew("name", Wt::WString::fromUTF8(track->getName()), Wt::TextFormat::Plain)};
- name->setToolTip(Wt::WString::fromUTF8(track->getName()));
+ entry->bindString("name", Wt::WString::fromUTF8(track->getName()));
const auto artists {track->getArtists({TrackArtistLinkType::Artist})};
const Release::pointer release {track->getRelease()};
const TrackId trackId {track->getId()};
- if (!artists.empty() || release)
- entry->setCondition("if-has-artists-or-release", true);
-
- if (!artists.empty())
- {
- entry->setCondition("if-has-artists", true);
-
- Wt::WContainerWidget* artistContainer {entry->bindNew("artists")};
- for (const Artist::pointer& artist : artists)
- {
- Wt::WTemplate* a {artistContainer->addNew(Wt::WString::tr("Lms.Explore.Tracks.template.entry-artist"))};
- a->bindWidget("artist", LmsApplication::createArtistAnchor(artist));
- }
- }
-
if (track->getRelease())
{
entry->setCondition("if-has-release", true);