From: Belen Barros Pena Date: Fri, 28 Aug 2015 16:06:35 +0000 (+0100) Subject: toaster: fix show / hide columns in all builds table X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=da5310f05f8573b2138da98a64749269d0711c18;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git toaster: fix show / hide columns in all builds table The classes errors_no and warnings_no were removed from the td tags in the builds.html template. That broke the show / hide columns functionality, which would hide only the table heading, but not the data cells. This patch brings back those classes so that you can hide and show the errors and warnings information. Signed-off-by: Belen Barros Pena Signed-off-by: Elliot Smith Signed-off-by: Richard Purdie --- diff --git a/lib/toaster/toastergui/templates/builds.html b/lib/toaster/toastergui/templates/builds.html index b68fa6f6dbc..c0d0c64c200 100644 --- a/lib/toaster/toastergui/templates/builds.html +++ b/lib/toaster/toastergui/templates/builds.html @@ -81,12 +81,12 @@ {{exectask.count}} task{{exectask.count|pluralize}} {%endif%} - + {% if build.errors.count %} {{build.errors.count}} error{{build.errors.count|pluralize}} {%endif%} - {% if build.warnings.count %}{{build.warnings.count}} warning{{build.warnings.count|pluralize}}{%endif%} + {% if build.warnings.count %}{{build.warnings.count}} warning{{build.warnings.count|pluralize}}{%endif%} {{build.timespent_seconds|sectohms}} {% if build.outcome == build.SUCCEEDED %}