aboutsummaryrefslogtreecommitdiffstats
path: root/spec/javascript
diff options
context:
space:
mode:
authorTeddy Wing2017-11-21 12:21:24 +0100
committerTeddy Wing2017-11-21 12:21:24 +0100
commit706fb9e315eceaa778cbbdafc315a1465f220e20 (patch)
tree053dbbc032d18334cb581501e9add619dfff307e /spec/javascript
parentacb37189bea8e0bd2c36d9b02042a8e3ee5bb238 (diff)
downloadchouette-core-706fb9e315eceaa778cbbdafc315a1465f220e20.tar.bz2
referentials_helper.rb#line_status: Fix style of text label
The label previously took on the colour of the icon (green or red) and was set in Times/browser default. It was set in the wrong style because the label was put inside the `<span>` for the icon. To fix the problem, leave the icon `<span>` empty and put the label just after it in a text DOM node. This makes the text label render correctly, in black 14px Open Sans. Also remove the unnecessary `cls` variables and ternaries as these are already handled by the outer `if` condition. Refs #5005
Diffstat (limited to 'spec/javascript')
0 files changed, 0 insertions, 0 deletions