Removed tags from the releases view

This commit is contained in:
emeric
2018-09-07 21:03:46 +02:00
parent dc6b134af6
commit 207faf1cbf
2 changed files with 0 additions and 20 deletions
-1
View File
@@ -32,7 +32,6 @@
${release-name}
</h4>
${<if-has-artist>}<h4><small><i>${artist-name}</i></small></h4>${</if-has-artist>}
${clusters}
${play-btn}${add-btn}
</div>
</div>
-19
View File
@@ -108,25 +108,6 @@ Releases::addSome()
entry->bindWidget("artist-name", LmsApplication::createArtistAnchor(artists.front()));
}
Wt::WContainerWidget* clusterContainers = entry->bindNew<Wt::WContainerWidget>("clusters");
{
auto clusterTypes = ScanSettings::get(LmsApp->getDboSession())->getClusterTypes();
auto clusterGroups = release->getClusterGroups(clusterTypes, 1);
for (auto clusters : clusterGroups)
{
for (auto cluster : clusters)
{
auto clusterId = cluster.id();
auto entry = clusterContainers->addWidget(LmsApp->createCluster(cluster));
entry->clicked().connect([=]
{
_filters->add(clusterId);
});
}
}
}
Wt::WText* playBtn = entry->bindNew<Wt::WText>("play-btn", Wt::WString::tr("Lms.Explore.template.play-btn"), Wt::TextFormat::XHTML);
playBtn->clicked().connect([=]
{