Merge pull request #1979 from lumiscosity/feature/mod_page_improvements

Mod downloader page improvements
This commit is contained in:
Alexandru Ionut Tripon
2024-01-03 22:43:18 +02:00
committed by GitHub
8 changed files with 20 additions and 2 deletions

View File

@ -200,6 +200,11 @@ void ResourcePage::updateUi()
}
if (current_pack->extraDataLoaded) {
if (current_pack->extraData.status == "archived") {
text += "<br><br>" + tr("<b>This project has been archived. It will not receive any further updates unless the author decides "
"to unarchive the project.</b>");
}
if (!current_pack->extraData.donate.isEmpty()) {
text += "<br><br>" + tr("Donate information: ");
auto donateToStr = [](ModPlatform::DonationData& donate) -> QString {