revuo: add link to whole issue

This commit is contained in:
tobtoht 2023-10-05 23:14:30 +02:00
parent 10ddabb1a1
commit 48cdd216ac
No known key found for this signature in database
GPG key ID: E45B10DD027D2472

View file

@ -38,7 +38,8 @@ void RevuoWidget::updateItems(const QList<QSharedPointer<RevuoItem>> &items) {
for (const auto &newsbyte : item->newsbytes) {
text += "<p> • " + newsbyte + "</p>\n";
}
text += "<br>\nEnjoy Revuo? Consider a <a href=\"feather://donate-revuo\">donation</a> to the author.";
text += QString("<br>\n<a href=\"%1\">Read the whole issue in your browser</a>").arg(item->url);
text += "<br><br>\nEnjoy Revuo? Consider a <a href=\"feather://donate-revuo\">donation</a> to the author.";
m_items[item->title] = text;
m_links[item->title] = item->url;