diff options
Diffstat (limited to 'bitbake/lib/toaster/toastergui/templates/projectbuilds.html')
-rw-r--r-- | bitbake/lib/toaster/toastergui/templates/projectbuilds.html | 29 |
1 files changed, 12 insertions, 17 deletions
diff --git a/bitbake/lib/toaster/toastergui/templates/projectbuilds.html b/bitbake/lib/toaster/toastergui/templates/projectbuilds.html index 896c3b5af7..ac87d8c166 100644 --- a/bitbake/lib/toaster/toastergui/templates/projectbuilds.html +++ b/bitbake/lib/toaster/toastergui/templates/projectbuilds.html | |||
@@ -79,25 +79,20 @@ | |||
79 | {% query build.task_build outcome=4 order__gt=0 as exectask%} | 79 | {% query build.task_build outcome=4 order__gt=0 as exectask%} |
80 | {% if exectask.count == 1 %} | 80 | {% if exectask.count == 1 %} |
81 | <a href="{% url "task" build.id exectask.0.id %}">{{exectask.0.recipe.name}}.{{exectask.0.task_name}}</a> | 81 | <a href="{% url "task" build.id exectask.0.id %}">{{exectask.0.recipe.name}}.{{exectask.0.task_name}}</a> |
82 | {% if MANAGED and build.project %} | ||
83 | <a href="{% url 'build_artifact' build.id "tasklogfile" exectask.0.id %}"> | 82 | <a href="{% url 'build_artifact' build.id "tasklogfile" exectask.0.id %}"> |
84 | <i class="icon-download-alt" title="" data-original-title="Download task log file"></i> | 83 | <i class="icon-download-alt" title="" data-original-title="Download task log file"></i> |
85 | </a> | 84 | </a> |
86 | {% endif %} | ||
87 | {% elif exectask.count > 1%} | 85 | {% elif exectask.count > 1%} |
88 | <a href="{% url "tasks" build.id %}?filter=outcome%3A4">{{exectask.count}} task{{exectask.count|pluralize}}</a> | 86 | <a href="{% url "tasks" build.id %}?filter=outcome%3A4">{{exectask.count}} task{{exectask.count|pluralize}}</a> |
89 | {%endif%} | 87 | {%endif%} |
90 | </td> | 88 | </td> |
91 | <td class="errors_no"> | 89 | <td class="errors.count"> |
92 | {% if build.errors_no %} | 90 | {% if build.errors.count %} |
93 | <a class="errors_no error" href="{% url "builddashboard" build.id %}#errors">{{build.errors_no}} error{{build.errors_no|pluralize}}</a> | 91 | <a class="errors.count error" href="{% url "builddashboard" build.id %}#errors">{{build.errors.count}} error{{build.errors.count|pluralize}}</a> |
94 | {%endif%} | 92 | {%endif%} |
95 | </td> | 93 | </td> |
96 | <td class="warnings_no">{% if build.warnings_no %}<a class="warnings_no warning" href="{% url "builddashboard" build.id %}#warnings">{{build.warnings_no}} warning{{build.warnings_no|pluralize}}</a>{%endif%}</td> | 94 | <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> |
97 | <td class="time"><a href="{% url "buildtime" build.id %}">{{build.timespent|sectohms}}</a></td> | 95 | <td class="time"><a href="{% url "buildtime" build.id %}">{{build.timespent_seconds|sectohms}}</a></td> |
98 | {% if not MANAGED or not build.project %} | ||
99 | <td class="log">{{build.cooker_log_path}}</td> | ||
100 | {% endif %} | ||
101 | <td class="output"> | 96 | <td class="output"> |
102 | {% if build.outcome == build.SUCCEEDED %} | 97 | {% if build.outcome == build.SUCCEEDED %} |
103 | <a href="{%url "builddashboard" build.id%}#images">{{fstypes|get_dict_value:build.id}}</a> | 98 | <a href="{%url "builddashboard" build.id%}#images">{{fstypes|get_dict_value:build.id}}</a> |
@@ -113,23 +108,23 @@ | |||
113 | <tr class="data"> | 108 | <tr class="data"> |
114 | <td class="outcome">{% if br.state == br.REQ_FAILED %}<i class="icon-minus-sign error"></i>{%else%}FIXME_build_request_state{%endif%}</td> | 109 | <td class="outcome">{% if br.state == br.REQ_FAILED %}<i class="icon-minus-sign error"></i>{%else%}FIXME_build_request_state{%endif%}</td> |
115 | <td class="target"> | 110 | <td class="target"> |
116 | <a href="{% url "buildrequestdetails" br.project.id br.id %}"><span data-toggle="tooltip" {%if br.brtarget_set.all.count > 1%}title="Targets: {%for target in br.brtarget_set.all%}{{target.target}} {%endfor%}"{%endif%}>{{br.brtarget_set.all.0.target}} {%if br.brtarget_set.all.count > 1%}(+ {{br.brtarget_set.all.count|add:"-1"}}){%endif%} </span></a> | 111 | <a href="{% url "builddashboard" br.id %}"><span data-toggle="tooltip" {%if br.brtarget_set.all.count > 1%}title="Targets: {%for target in br.brtarget_set.all%}{{target.target}} {%endfor%}"{%endif%}>{{br.brtarget_set.all.0.target}} {%if br.brtarget_set.all.count > 1%}(+ {{br.brtarget_set.all.count|add:"-1"}}){%endif%} </span></a> |
117 | </td> | 112 | </td> |
118 | <td class="machine"> | 113 | <td class="machine"> |
119 | <a href="{% url "buildrequestdetails" br.project.id br.id %}">{{br.machine}}</a> | 114 | <a href="{% url "builddashboard" br.id %}">{{br.machine}}</a> |
120 | </td> | 115 | </td> |
121 | <td class="started_on"> | 116 | <td class="started_on"> |
122 | <a href="{% url "buildrequestdetails" br.project.id br.id %}">{{br.created|date:"d/m/y H:i"}}</a> | 117 | <a href="{% url "builddashboard" br.id %}">{{br.created|date:"d/m/y H:i"}}</a> |
123 | </td> | 118 | </td> |
124 | <td class="completed_on"> | 119 | <td class="completed_on"> |
125 | <a href="{% url "buildrequestdetails" br.project.id br.id %}">{{br.updated|date:"d/m/y H:i"}}</a> | 120 | <a href="{% url "builddashboard" br.id %}">{{br.updated|date:"d/m/y H:i"}}</a> |
126 | </td> | 121 | </td> |
127 | <td class="failed_tasks error"> | 122 | <td class="failed_tasks error"> |
128 | </td> | 123 | </td> |
129 | <td class="errors_no"> | 124 | <td class="errors.count"> |
130 | <a class="errors_no error" href="{% url "buildrequestdetails" br.project.id br.id %}#errors">{{br.brerror_set.all.count}} error{{br.brerror_set.all.count|pluralize}}</a> | 125 | <a class="errors.count error" href="{% url "builddashboard" br.id %}#errors">{{br.brerror_set.all.count}} error{{br.brerror_set.all.count|pluralize}}</a> |
131 | </td> | 126 | </td> |
132 | <td class="warnings_no"> | 127 | <td class="warnings.count"> |
133 | </td> | 128 | </td> |
134 | <td class="time"> | 129 | <td class="time"> |
135 | {{br.timespent.total_seconds|sectohms}} | 130 | {{br.timespent.total_seconds|sectohms}} |