add archived project warning
Signed-off-by: lumiscosity <averyrudelphe@gmail.com>
This commit is contained in:
parent
e39a03421a
commit
358cf5b348
7 changed files with 17 additions and 1 deletions
|
@ -200,6 +200,10 @@ 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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue