Various cosmetic fixes

This commit is contained in:
Luca Deri 2019-12-07 17:29:49 +01:00
parent 4204fa208d
commit bac7c05e4b
4 changed files with 105 additions and 107 deletions

View file

@ -238,7 +238,7 @@ function stackedProgressBars(total, bars, other_label, formatter, css_class)
if bar.link ~= nil then res[#res + 1] = [[<a href="]] .. bar.link .. [[">]] end
res[#res + 1] = [[<span class="badge badge-]].. (bar.class) ..[[" style="]] .. bar.style .. [[">&nbsp;</span>]]
if bar.link ~= nil then res[#res + 1] = [[</a>]] end
res[#res + 1] = [[<span>]] .. bar.title .. " (".. formatter(bar.value) ..")</span></span>"
res[#res + 1] = [[<span> ]] .. bar.title .. " (".. formatter(bar.value) ..")</span></span>"
num = num + 1
end