mirror of
https://github.com/zulip/zulip.git
synced 2025-11-02 04:53:36 +00:00
support: Show file upload usage compared to realm upload quota.
Implemented on Zulip Cloud support view only since this information isn't relevant for self-hosted support actions. Looking up the realm's currently used upload space adds 3 database queries to the support view test as there is no RealmCount data for the upload quota used in the test. And therefore installation_epoch is called for the realm. With RealmCount upload quota used data, only 2 additional database queries would be made for the realm's support view data.
This commit is contained in:
committed by
Tim Abbott
parent
798f59a01b
commit
7fc9d29c1e
@@ -55,6 +55,8 @@
|
||||
{% set user_data = realm_support_data[realm.id].user_data %}
|
||||
{% include 'corporate/support/basic_realm_data.html' %}
|
||||
{% endwith %}
|
||||
<br />
|
||||
<b>File upload usage</b>: {{ realm_support_data[realm.id].file_upload_usage }}<br />
|
||||
</div>
|
||||
<div>
|
||||
<div class="realm-management-actions">
|
||||
|
||||
Reference in New Issue
Block a user