summaryrefslogtreecommitdiffstats
path: root/controller
diff options
context:
space:
mode:
authorPavel Raiskup <praiskup@redhat.com>2014-10-27 14:28:28 +0100
committerPavel Raiskup <praiskup@redhat.com>2014-10-27 14:28:28 +0100
commitd3774f2b9a5bcf2b7650b4f6a7b1b3179f58f6b0 (patch)
tree8d356dd0f5e02261dd00a8667f514cbb08cd9724 /controller
parent2b83ff2fb0ce5317eb05243f5b9a6ed21a5b8b6f (diff)
downloadpostgresql-setup-tests-d3774f2b9a5bcf2b7650b4f6a7b1b3179f58f6b0.tar.gz
postgresql-setup-tests-d3774f2b9a5bcf2b7650b4f6a7b1b3179f58f6b0.tar.xz
postgresql-setup-tests-d3774f2b9a5bcf2b7650b4f6a7b1b3179f58f6b0.zip
controller/result-template: hyper-link
* share/dtf-controller/results-stats-templates/html.tmpl: Fields of the result table are now hyper-linked with particular results.
Diffstat (limited to 'controller')
-rw-r--r--controller/share/dtf-controller/results-stats-templates/html.tmpl8
1 files changed, 4 insertions, 4 deletions
diff --git a/controller/share/dtf-controller/results-stats-templates/html.tmpl b/controller/share/dtf-controller/results-stats-templates/html.tmpl
index af06322..d18e564 100644
--- a/controller/share/dtf-controller/results-stats-templates/html.tmpl
+++ b/controller/share/dtf-controller/results-stats-templates/html.tmpl
@@ -11,7 +11,7 @@
<table class="table table-condensed table-hover">
<thead>
<tr>
- <th>Run time</th>
+ <th>Run directory (time is UTC)</th>
: for $task_ids.keys() -> $task_id {
<th><: $task_id :></th>
: }
@@ -25,14 +25,14 @@
: } else {
<tr>
: }
- <td><: $result.dirname :></td>
+ <td><a href="<: $result.dirname :>"><: $result.dirname :></a></td>
: for $task_ids.keys() -> $task_id {
: if (not defined($result.tasks[$task_id].exit_status)) {
<td>NOT AVAILABLE</td>
: } elsif ($result.tasks[$task_id].exit_status == 0) {
- <td>OK</td>
+ <td><a href="<: $result.dirname :>/dtf/tasks/<: $task_id :>">OK</a></td>
: } else {
- <td class="danger">FAIL</td>
+ <td class="danger"><a href="<: $result.dirname :>/dtf/tasks/<: $task_id :>">FAIL</a></td>
: }
: }
<tr>