You've already forked postfixadmin
mirror of
https://github.com/postfixadmin/postfixadmin.git
synced 2026-01-12 22:51:27 +03:00
Use percentage for quota levels in bootstrap theme
This commit is contained in:
@@ -59,12 +59,12 @@
|
||||
{else}
|
||||
{if $boolconf_used_quotas}
|
||||
|
||||
|
||||
{if $divide_quota.quota_width[$i]>90}
|
||||
|
||||
{if $divide_quota.percent[$i] > $CONF.quota_level_high_pct}
|
||||
{assign var="quota_level" value="high"}
|
||||
{elseif $divide_quota.quota_width[$i]>55}
|
||||
{elseif $divide_quota.percent[$i] > $CONF.quota_level_med_pct}
|
||||
{assign var="quota_level" value="mid"}
|
||||
{else}
|
||||
{else}
|
||||
{assign var="quota_level" value="low"}
|
||||
{/if}
|
||||
<div class="quota quota_{$quota_level}" style="width:{$divide_quota.quota_width[$i]}px;"></div>
|
||||
|
||||
Reference in New Issue
Block a user