From: Michael Tremer Date: Sun, 14 Oct 2018 21:04:14 +0000 (+0100) Subject: talk: Show mos in tooltip X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ca5c96e0fea0b81d99242bd860ab2108ed75dfde;p=ipfire.org.git talk: Show mos in tooltip Signed-off-by: Michael Tremer --- diff --git a/src/templates/talk/modules/cdr.html b/src/templates/talk/modules/cdr.html index 374dfa92..f5042136 100644 --- a/src/templates/talk/modules/cdr.html +++ b/src/templates/talk/modules/cdr.html @@ -30,8 +30,8 @@
- - {% if c.mos %} + {% if c.mos %} + {% for i in range(1, 6) %} {% if c.mos > (i + 0.5) %} @@ -41,10 +41,8 @@ {% end %} {% end %} - - {{ "%.2f" % c.mos }}/5 - {% end %} - + + {% end %}