Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2361)

Unified Diff: appengine/monorail/templates/project/project-admin-quota-part.ezt

Issue 1868553004: Open Source Monorail (Closed) Base URL: https://chromium.googlesource.com/infra/infra.git@master
Patch Set: Rebase Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: appengine/monorail/templates/project/project-admin-quota-part.ezt
diff --git a/appengine/monorail/templates/project/project-admin-quota-part.ezt b/appengine/monorail/templates/project/project-admin-quota-part.ezt
new file mode 100644
index 0000000000000000000000000000000000000000..1649eab99deeb8255b90e22e7a43095faf6effa8
--- /dev/null
+++ b/appengine/monorail/templates/project/project-admin-quota-part.ezt
@@ -0,0 +1,30 @@
+<h4>Storage quota</h4>
+
+<div class="section">
+
+ <table cellspacing="6" style="padding:6px">
+ <tr>
+ <td>Issue attachments:</td>
+ <td>[include "quota-bar.ezt" attachment_quota]</td>
+ </tr>
+ <tr>
+ <td style="padding:15px 0">
+ [if-any offer_quota_editing]
+ <input type="submit" name="savechanges" value="Update Quota">
+ [end]
+ </td>
+ <td style="padding:15px 0">
+ [if-any offer_quota_editing]
+ <input type="number" name="[attachment_quota.field_name]" value="[attachment_quota.quota_mb]"
+ size="5" min="1" style="font-size:90%; padding:0">
+ [if-any errors.attachment_quota]
+ <div class="fielderror">[errors.attachment_quota]</div>
+ [end]
+ [else]
+ [attachment_quota.quota_mb]
+ [end]
+ MB
+ </td>
+ </tr>
+ </table>
+</div>

Powered by Google App Engine
This is Rietveld 408576698