Browse Source

Display zuul_version in zuul status page

Change-Id: I81122aaae9f525ceb04a7fbb63cf3111b4770f51
changes/52/66052/1
Sergey Lukjanov 9 years ago
parent
commit
df550c543a
  1. 7
      etc/status/public_html/app.js

7
etc/status/public_html/app.js

@ -63,6 +63,10 @@
$msgWrap.addClass('zuul-msg-wrap-off');
}
if ('zuul_version' in data) {
$('#zuul-version-span').text(data['zuul_version']);
}
$.each(data.pipelines, function (i, pipeline) {
html += zuul.format.pipeline(pipeline);
});
@ -223,8 +227,9 @@
$queueEventsNum = $queueInfo.find('span').eq(0);
$queueResultsNum = $queueEventsNum.next();
$pipelines = $('<div class="row"></div>');
$zuulVersion = $('<p>Zuul version: <span id="zuul-version-span"></span></p>');
$container = $('#zuul-container').append($msgWrap, $indicator, $queueInfo, $pipelines);
$container = $('#zuul-container').append($msgWrap, $indicator, $queueInfo, $pipelines, $zuulVersion);
zuul.schedule();

Loading…
Cancel
Save