[gnome-ostree] repoweb: A few more tweaks
- From: Colin Walters <walters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-ostree] repoweb: A few more tweaks
- Date: Sat, 15 Dec 2012 23:01:12 +0000 (UTC)
commit 264affa7d943e7e051cfc7e190384f0866d6ac07
Author: Colin Walters <walters verbum org>
Date: Sat Dec 15 18:01:01 2012 -0500
repoweb: A few more tweaks
qa/repoweb/index.html | 2 +-
qa/repoweb/repoweb.js | 13 +++++--------
2 files changed, 6 insertions(+), 9 deletions(-)
---
diff --git a/qa/repoweb/index.html b/qa/repoweb/index.html
index 3f1040f..1d8693f 100644
--- a/qa/repoweb/index.html
+++ b/qa/repoweb/index.html
@@ -52,7 +52,7 @@
</ul>
</div>
<div class="footer">
- <p>Optimized for standards. Hosted by <a href="" data-transition="fade">Colin Walters</a>. Powered by <a href="http://jquerymobile.com" data-transition="fade">jquery-mobile</a>.</p>
+ <p>Optimized for standards. Powered by <a href="http://jquerymobile.com" data-transition="fade">jquery-mobile</a>.</p>
</div>
</div>
diff --git a/qa/repoweb/repoweb.js b/qa/repoweb/repoweb.js
index 4cbc8ae..a3bacf9 100644
--- a/qa/repoweb/repoweb.js
+++ b/qa/repoweb/repoweb.js
@@ -120,16 +120,13 @@ function renderBuild(container, build) {
var state = build['state'];
+ if (state == 'running') {
+ a.appendChild(document.createTextNode("Running: "));
+ }
+
buildDiffAppend(a, build['diff']);
- if (state == 'running') {
- var p = document.createElement('p');
- a.appendChild(p);
- var status = build['build-status'];
- if (status)
- status += ": " + status['description'];
- p.appendChild(document.createTextNode(status));
- } else {
+ if (state != 'running') {
var p = document.createElement('span');
a.appendChild(p);
var stateSpan = document.createElement('span');
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]