From ca5c96e0fea0b81d99242bd860ab2108ed75dfde Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Sun, 14 Oct 2018 22:04:14 +0100 Subject: [PATCH] talk: Show mos in tooltip Signed-off-by: Michael Tremer --- src/templates/talk/modules/cdr.html | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) 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 %} -- 2.47.3