Make the copyright link less invasive

This commit is contained in:
emeric
2018-09-24 13:42:42 +02:00
parent 48569ba166
commit c30604dcc4
3 changed files with 9 additions and 5 deletions
+4
View File
@@ -2,6 +2,10 @@
<messages xmlns:if="Wt.WTemplate.conditions">
<!--FORMS message blocks-->
<message id="Lms.Explore.Release.template.link-btn">
<i class="fa fa-external-link"></i>
</message>
<message id="Lms.Explore.Release.template">
<div class="row">
<div class="col-md-12">
+3 -3
View File
@@ -158,7 +158,7 @@ a:hover {
}
.Lms-explore-release-entry-controls {
text-align: center;
text-align: right;
}
.Lms-explore-release-entry-playing {
@@ -202,7 +202,7 @@ a:hover {
}
.Lms-explore-tracks-entry-controls {
text-align: center;
text-align: right;
}
.Lms-explore-tracksinfo-entry {
@@ -235,7 +235,7 @@ a:hover {
}
.Lms-playqueue-entry-controls {
text-align: center;
text-align: right;
}
.Lms-playqueue-btn {
+2 -2
View File
@@ -106,8 +106,8 @@ Release::refresh()
Wt::WLink link(*copyrightURL);
link.setTarget(Wt::LinkTarget::NewWindow);
Wt::WAnchor* anchor = t->bindNew<Wt::WAnchor>("copyright-url", link);
anchor->setTextFormat(Wt::TextFormat::Plain);
anchor->setText(Wt::WString::fromUTF8(*copyrightURL));
anchor->setTextFormat(Wt::TextFormat::XHTML);
anchor->setText(Wt::WString::tr("Lms.Explore.Release.template.link-btn"));
}
if (copyright)