Skip to content
Snippets Groups Projects
Commit 7de40252 authored by Pascal Dreissen's avatar Pascal Dreissen
Browse files

fix unlimited progressbar in mailquota dashlet

parent 5c0fcb45
No related branches found
No related tags found
1 merge request!1373addendum fixes center of database quota dashlet closes #5954
......@@ -16,7 +16,7 @@
<td>{tmpl_var name='name'}</td>
<td>{tmpl_var name='used'}</td>
<td>{tmpl_var name='quota'}</td>
{tmpl_if name="quota" op="!=" value="unlimited"}<td>
{tmpl_if name="quota_raw" op="!=" value="0"}<td>
<div class='progress'>
<div class='progress-bar-striped progress-bar progress-bar-{tmpl_if name="used_percentage" op="<" value="50"}success{tmpl_elseif name="used_percentage" op="<" value="75"}warning{tmpl_else}danger{/tmpl_if}' role='progressbar' aria-valuemin='0' aria-valuemax='100' aria-valuenow='{tmpl_var name="used_percentage"}' style='width:{tmpl_var name="used_percentage"}%'><span>{tmpl_var name="used_percentage"}%</span>
<span class='sr-only'>{tmpl_var name='used'} {tmpl_var name='of_txt'} {tmpl_var name='quota'}</span>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment