summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBelen Barros Pena <belen.barros.pena@intel.com>2015-08-28 17:06:35 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-08-29 14:03:51 +0100
commit7957e1f15f6a166c5cb4011c64794e9896632e70 (patch)
treefbae6fd5dc1c82e1f76bab49afd2d6cda53c5a0b
parent8e1f080c0453de681e1dbc1b36e2781d552e9f79 (diff)
downloadpoky-7957e1f15f6a166c5cb4011c64794e9896632e70.tar.gz
bitbake: 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. (Bitbake rev: da5310f05f8573b2138da98a64749269d0711c18) Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com> Signed-off-by: Elliot Smith <elliot.smith@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--bitbake/lib/toaster/toastergui/templates/builds.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/bitbake/lib/toaster/toastergui/templates/builds.html b/bitbake/lib/toaster/toastergui/templates/builds.html
index b68fa6f6db..c0d0c64c20 100644
--- a/bitbake/lib/toaster/toastergui/templates/builds.html
+++ b/bitbake/lib/toaster/toastergui/templates/builds.html
@@ -81,12 +81,12 @@
81 <a href="{% url "tasks" build.id %}?filter=outcome%3A4">{{exectask.count}} task{{exectask.count|pluralize}}</a> 81 <a href="{% url "tasks" build.id %}?filter=outcome%3A4">{{exectask.count}} task{{exectask.count|pluralize}}</a>
82 {%endif%} 82 {%endif%}
83 </td> 83 </td>
84 <td class="errors.count"> 84 <td class="errors.count errors_no">
85 {% if build.errors.count %} 85 {% if build.errors.count %}
86 <a class="errors.count error" href="{% url "builddashboard" build.id %}#errors">{{build.errors.count}} error{{build.errors.count|pluralize}}</a> 86 <a class="errors.count error" href="{% url "builddashboard" build.id %}#errors">{{build.errors.count}} error{{build.errors.count|pluralize}}</a>
87 {%endif%} 87 {%endif%}
88 </td> 88 </td>
89 <td class="warnings.count">{% if build.warnings.count %}<a class="warnings.count warning" href="{% url "builddashboard" build.id %}#warnings">{{build.warnings.count}} warning{{build.warnings.count|pluralize}}</a>{%endif%}</td> 89 <td class="warnings.count warnings_no">{% if build.warnings.count %}<a class="warnings.count warning" href="{% url "builddashboard" build.id %}#warnings">{{build.warnings.count}} warning{{build.warnings.count|pluralize}}</a>{%endif%}</td>
90 <td class="time"><a href="{% url "buildtime" build.id %}">{{build.timespent_seconds|sectohms}}</a></td> 90 <td class="time"><a href="{% url "buildtime" build.id %}">{{build.timespent_seconds|sectohms}}</a></td>
91 <td class="output"> 91 <td class="output">
92 {% if build.outcome == build.SUCCEEDED %} 92 {% if build.outcome == build.SUCCEEDED %}