Use percentage for quota levels in bootstrap theme

pull/286/head
Unknown 5 years ago
parent c3065bdace
commit 7583decbcb

@ -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>

Loading…
Cancel
Save