Because I want too have a separate class for that.
On 10 Nov 2013 13:44, "Valentin Kuznetsov" <notifications@github.com> wrote:

> In src/python/DAS/web/das_kwd_search.py:
>
> > @@ -53,7 +56,7 @@ def _prepare_score_bar(cls, q):
> >                        (score < 0.60) and 'avg' or 'high'
> >          return {'max_w': max_w,
> >                  'w': w,
> > -                'style': color_class,
> > +                'style': self.colored_scorebar and color_class or 'none',
>
> why not empty string then?
> … <#142420af573ee24e_>
> On Nov 10, 2013, at ,Nov 10, 5:26 AM, vidma <notifications@github.com>
> wrote: In src/python/DAS/web/das_kwd_search.py: > @@ -53,7 +56,7 @@ def
> _prepare_score_bar(cls, q): > (score < 0.60) and 'avg' or 'high' > return
> {'max_w': max_w, > 'w': w, > - 'style': color_class, > + 'style':
> self.colored_scorebar and color_class or 'none', it's just a classname
> representing color, e.g. score-bar-inner-$style... it could be renamed, but
> that wouldn't change much, except making the line longer. — Reply to this
> email directly or view it on GitHub.
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/dmwm/DAS/pull/4059/files#r7548548>
> .
>