fix styling
Signed-off-by: lumiscosity <averyrudelphe@gmail.com>
This commit is contained in:
parent
1e48bf838d
commit
c29af83dc3
@ -94,7 +94,7 @@ void loadIndexedInfo(Modpack& pack, QJsonObject& obj)
|
||||
|
||||
pack.extra.donate.append(donate);
|
||||
}
|
||||
|
||||
|
||||
pack.extra.status = Json::ensureString(obj, "status");
|
||||
|
||||
pack.extraInfoLoaded = true;
|
||||
|
@ -201,7 +201,8 @@ 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>");
|
||||
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()) {
|
||||
|
@ -268,7 +268,8 @@ void ModrinthPage::updateUI()
|
||||
|
||||
if (current.extraInfoLoaded) {
|
||||
if (current.extra.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>");
|
||||
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.extra.donate.isEmpty()) {
|
||||
|
Loading…
Reference in New Issue
Block a user