include duration
authorTom Powell <tom@powell.io>
Wed, 31 Oct 2018 06:23:53 +0000 (23:23 -0700)
committerTom Powell <tom@powell.io>
Wed, 31 Oct 2018 06:23:53 +0000 (23:23 -0700)
ui/templates/builds.html
ui/templates/runner.html

index 2881ad1601826c672a53d2963fad34527833f619..26d500fa27e777192f62c82f6969b79906f197c3 100644 (file)
@@ -13,6 +13,7 @@
                 <th scope="col">Version</th>
                 <th scope="col">Type</th>
                 <th scope="col">Date</th>
+                <th scope="col">Duration</th>
                 <th scope="col">Runner</th>
             </tr>
             {% for build in builds.items %}
@@ -23,6 +24,7 @@
                 <td>{{build.build_version}}</td>
                 <td>{{build.build_type}}</td>
                 <td>{{build.build_date}}</td>
+                <td>{% if build.build_duration %}{{build.build_duration / 60}} min{% endif %}</td>
                 <td><a href="/runners/{{build.build_runner.runner_name}}">{{build.build_runner.runner_name}}</a></td>
             </tr>
             {% endfor %}
index e74165fb138ce5f67b5964675b44a8140e17ff6e..62b6fb986e3819e1b916f76cd1f92eea4ce5d41f 100644 (file)
@@ -19,6 +19,7 @@
                 <th scope="col">Version</th>
                 <th scope="col">Type</th>
                 <th scope="col">Date</th>
+                <th scope="col">Duration</th>
             </tr>
             {% for build in builds.items %}
             <tr>
@@ -28,6 +29,7 @@
                 <td>{{build.build_version}}</td>
                 <td>{{build.build_type}}</td>
                 <td>{{build.build_date}}</td>
+                <td>{% if build.build_duration %}{{build.build_duration / 60}} min{% endif %}</td>
             </tr>
             {% endfor %}
         </table>