mirror of
https://github.com/postfixadmin/postfixadmin.git
synced 2026-11-20 23:43:26 +03:00
Re-add configurable quota levels
The configurable setting seems to be accidentally removed in 68a8caac28.
Signed-off-by: Sven Strickroth <email@cs-ware.de>
This commit is contained in:
1 parent
c8577e03ec
commit
753815b7df
1 file changed
+2
-2
+2
-2
@@ -95,9 +95,9 @@
|
||||
{elseif $field.type == 'quot'}
|
||||
{assign "tmpkey" "_{$key}_percent"}
|
||||
|
||||
{if $item[$tmpkey]>90}
|
||||
{if $item[$tmpkey] > $CONF.quota_level_high_pct}
|
||||
{assign var="quota_level" value="high"}
|
||||
{elseif $item[$tmpkey]>55}
|
||||
{elseif $item[$tmpkey] > $CONF.quota_level_med_pct}
|
||||
{assign var="quota_level" value="mid"}
|
||||
{else}
|
||||
{assign var="quota_level" value="low"}
|
||||
|
||||
Reference in new issue
Block a user