Skip to content

Commit

Permalink
Re-add configurable quota levels
Browse files Browse the repository at this point in the history
The configurable setting seems to be accidentally removed in 68a8caa.

Signed-off-by: Sven Strickroth <email@cs-ware.de>
  • Loading branch information
csware committed May 7, 2021
1 parent bff4afa commit bfc7af5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions templates/list.tpl
Expand Up @@ -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"}
Expand Down

0 comments on commit bfc7af5

Please sign in to comment.