[gnome-ostree] extras/build.gnome.org: More work
- From: Colin Walters <walters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-ostree] extras/build.gnome.org: More work
- Date: Sat, 18 May 2013 14:57:35 +0000 (UTC)
commit 7811340700810946644ef7fd548c02c7b5729893
Author: Colin Walters <walters verbum org>
Date: Sat May 18 10:57:26 2013 -0400
extras/build.gnome.org: More work
extras/build.gnome.org/gnome-ostree.js | 6 +++++-
extras/build.gnome.org/index.html | 6 +++---
2 files changed, 8 insertions(+), 4 deletions(-)
---
diff --git a/extras/build.gnome.org/gnome-ostree.js b/extras/build.gnome.org/gnome-ostree.js
index b636aa3..6582844 100644
--- a/extras/build.gnome.org/gnome-ostree.js
+++ b/extras/build.gnome.org/gnome-ostree.js
@@ -127,6 +127,8 @@ function renderBuild(container, build) {
function _renderTask(taskName) {
var statusNode = $("#" + taskName + "-meta").get(0);
$(statusNode).empty();
+ var spanNode = $("#" + taskName + "-span").get(0);
+ $(spanNode).empty();
var meta = taskData[taskName];
var ref = 'work/tasks/' + taskName;
@@ -139,11 +141,13 @@ function _renderTask(taskName) {
statusNode.setAttribute('rel', 'external');
var text = currentBuildMeta.taskVersion + ': ' + (meta.success ? "success" : "failed ");
statusNode.appendChild(document.createTextNode(text));
+ if (meta['status'])
+ spanNode.appendChild(document.createTextNode(meta['status']));
}
function repowebIndexInit() {
repowebInit();
$(repoDataSignal).on("taskdata-changed", function (event, taskName) {
- _renderTask(taskNames);
+ _renderTask(taskName);
});
}
diff --git a/extras/build.gnome.org/index.html b/extras/build.gnome.org/index.html
index d99f43b..54d4a75 100644
--- a/extras/build.gnome.org/index.html
+++ b/extras/build.gnome.org/index.html
@@ -62,9 +62,9 @@
<div data-role="content">
<p>See <a href="https://live.gnome.org/OSTree/GnomeOSTree">GNOMEOSTree</a>
for more information. </p>
- <p>Build: <a href="" id="build-meta"></a></p>
- <p>Smoketest: <a href="" id="smoketest-meta"></a></p>
- <p>Integrationtest: <a href="" id="integrationtest-meta"></a></p>
+ <p>Build: <a href="" id="build-link"></a><span id="build-span"></span></p>
+ <p>Smoketest: <a href="" id="smoketest-link"></a><span id="smoketest-span"></span></p>
+ <p>Integrationtest: <a href="" id="integrationtest-link"></a><span
id="integrationtest-span"></span></p>
<p>Maintainer: Colin Walters <walters verbum org></p>
</div>
</div>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]