diff options
author | Neil Williams <neil.williams@linaro.org> | 2014-10-18 10:55:58 +0000 |
---|---|---|
committer | Neil Williams <neil.williams@linaro.org> | 2014-10-20 16:12:40 +0000 |
commit | b5b895bf5b369841651375580426759734f3c7ed (patch) | |
tree | f9a207d11db9881d29b7a8d3e4abe1b852ad5f67 /lava_scheduler_app/templatetags/tables.py | |
parent | 9b6aa002f207a6dc7dcb2ade7f818a0373c73061 (diff) |
Revert "LAVA-1488: View JobTable without health checks."
Fix bug #761 - enabling discrete queries by default causes
simple searches to be disabled.
This reverts commit 59018765341d383dec53c46d3d8e9d5db00d6a5a.
Change-Id: I51092213eb8d5585fc5ab9ddb4254dbf4ed1ad77
(cherry picked from commit 5529d707081ec1a425cef1ea4f62357f8853010f)
Diffstat (limited to 'lava_scheduler_app/templatetags/tables.py')
-rw-r--r-- | lava_scheduler_app/templatetags/tables.py | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/lava_scheduler_app/templatetags/tables.py b/lava_scheduler_app/templatetags/tables.py index 69d567aa7..7752e6774 100644 --- a/lava_scheduler_app/templatetags/tables.py +++ b/lava_scheduler_app/templatetags/tables.py @@ -62,17 +62,3 @@ def get_length_select(table, string): for option in val: select += "<option selected>%d</option>" % option if option == num else "<option>%d</option>" % option return mark_safe(select) - - -@register.filter -def get_health_job_toggle_select(table, string): - select = "" - val = ["yes", "no"] - name = "%s%s" % (table.prefix, "includehealthcheck") - if name in string: - selection = string[name] - else: - selection = table.includehealthcheck - for option in val: - select += "<option selected>%s</option>" % option if option == selection else "<option>%s</option>" % option - return mark_safe(select) |