summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam Coldrick <adam@sotk.co.uk>2015-09-27 09:07:12 +0100
committerAdam Coldrick <adam@sotk.co.uk>2015-09-28 20:26:11 +0100
commitf7d5aee7fbb5d58bb84bec13c94bc543ae4835de (patch)
tree318052f8237635e951497c6b0f3b6fd9756b2c91
parent4474aac719dafb40683aed58f2329f0593a6a7ce (diff)
downloadciat-ui-f7d5aee7fbb5d58bb84bec13c94bc543ae4835de.tar.gz
List all logs from last build
-rw-r--r--index.html7
1 files changed, 6 insertions, 1 deletions
diff --git a/index.html b/index.html
index ac6b62d..dbde822 100644
--- a/index.html
+++ b/index.html
@@ -23,7 +23,12 @@
<h3>{{selected.name}}</h3>
<div class="detail-contents">
<p><strong>State:</strong> {{selected.data.state}}</p>
- <a ng-href="{{selected.lastBuild.logs[2][1]}}">Last Build Log</a>
+ <p><strong>Most Recent Logs:</strong></p>
+ <ul>
+ <li ng-repeat="(key, value) in selected.lastBuild.logs">
+ <a ng-href="{{value}}">{{key}}</a>
+ </li>
+ </ul>
</div>
</div>
</div>