From ac5719311750c948acfaba14ef0293bb3c8240c7 Mon Sep 17 00:00:00 2001 From: "melaniekung." <71947221+melaniekung@users.noreply.github.com> Date: Tue, 15 Oct 2024 10:31:08 -0700 Subject: [PATCH] Update institution upload limits. (#1864) (#1875) --- .../modules/object/templates/addDigitalObjectSuccess.php | 2 +- apps/qubit/modules/settings/templates/uploadsSuccess.php | 4 ++-- .../modules/object/templates/addDigitalObjectSuccess.php | 2 +- .../modules/settings/templates/uploadsSuccess.php | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/apps/qubit/modules/object/templates/addDigitalObjectSuccess.php b/apps/qubit/modules/object/templates/addDigitalObjectSuccess.php index d84ca06285..269cf19d74 100644 --- a/apps/qubit/modules/object/templates/addDigitalObjectSuccess.php +++ b/apps/qubit/modules/object/templates/addDigitalObjectSuccess.php @@ -42,7 +42,7 @@ - uploadLimit || floatval($repository->getDiskUsage() / pow(10, 9)) < floatval($repository->uploadLimit)) { ?> + uploadLimit || floatval($repository->getDiskUsage() / pow(10, 9)) < floatval($repository->uploadLimit) || -1 == sfConfig::get('app_upload_limit')) { ?> file->renderRow(); ?> diff --git a/apps/qubit/modules/settings/templates/uploadsSuccess.php b/apps/qubit/modules/settings/templates/uploadsSuccess.php index d2e54efe7f..1e55ec12ec 100644 --- a/apps/qubit/modules/settings/templates/uploadsSuccess.php +++ b/apps/qubit/modules/settings/templates/uploadsSuccess.php @@ -43,7 +43,7 @@ enable_repository_quotas ->label( - __('%1% upload limits', + __('%1% upload limits meter display', [ '%1%' => sfConfig::get('app_ui_label_repository'), ] @@ -65,7 +65,7 @@ ['%1%' => strtolower(sfConfig::get('app_ui_label_repository'))] )) ->help(__( - 'Default %1% upload limit for a new %2%. A value of "0" (zero) disables file upload. A value of "-1" allows unlimited uploads', + 'Default %1% upload limit for a new %2%. A value of "0" (zero) disables file upload. A value of "-1" allows unlimited uploads for all %2%s, overriding limit set for individual %2%s.', [ '%1%' => strtolower(sfConfig::get('app_ui_label_digitalobject')), '%2%' => strtolower(sfConfig::get('app_ui_label_repository')), diff --git a/plugins/arDominionB5Plugin/modules/object/templates/addDigitalObjectSuccess.php b/plugins/arDominionB5Plugin/modules/object/templates/addDigitalObjectSuccess.php index d78094bcef..3a48244764 100644 --- a/plugins/arDominionB5Plugin/modules/object/templates/addDigitalObjectSuccess.php +++ b/plugins/arDominionB5Plugin/modules/object/templates/addDigitalObjectSuccess.php @@ -43,7 +43,7 @@