congress-dashboard/congress_dashboard/monitoring
Eric Kao becbd719cd Suppress 0s in monitoring pane rows
Do not set value to 0 and do not add rows without non-zero value.
Also fix javascript in template to avoid coloring 'No items to display.'

With the following rules:
$ openstack congress policy rule create action 'warning(x) :- blah(x)'
$ openstack congress policy rule create classification 'blah(x) :- error(x)'

Monitoring pane pre-patch shows rows of zero warning/error
screenshot: https://imagebin.ca/v/3VXCVtZxXYUQ

rows suppressed post-patch.
screenshot: https://imagebin.ca/v/3VXX9g34QOGf

Closes-Bug: 1708294

Change-Id: I56adc4da430e3e1e15bd31c42fe3f7bce996dcd0
2017-08-03 17:46:55 +00:00
..
templates/monitoring Suppress 0s in monitoring pane rows 2017-08-03 17:46:55 +00:00
__init__.py Add Monitoring violations panel 2017-07-17 15:36:38 +05:30
panel.py Add Monitoring violations panel 2017-07-17 15:36:38 +05:30
tables.py Add link to navigate to violations data 2017-07-19 15:32:27 +05:30
urls.py Add Monitoring violations panel 2017-07-17 15:36:38 +05:30
views.py Add Monitoring violations panel 2017-07-17 15:36:38 +05:30