summaryrefslogtreecommitdiffstats
path: root/lib/toaster/toastergui/templates/base.html
diff options
context:
space:
mode:
authorAlexandru DAMIAN <alexandru.damian@intel.com>2015-02-06 15:32:18 +0000
committerAlexandru DAMIAN <alexandru.damian@intel.com>2015-02-09 17:54:34 +0000
commit93e4f8c44273f4657c5be4c00b61db12aa875e31 (patch)
treefd9c093c47e2104401df54cdcc40f3ff2c47c420 /lib/toaster/toastergui/templates/base.html
parent8a8248f7b7e30469f592e2f8adbf6ce21e8685c5 (diff)
downloadbitbake-93e4f8c44273f4657c5be4c00b61db12aa875e31.tar.gz
toaster: display Toaster mode and version in debug mode
This patch displays the current running mode and checked-out git branch as Toaster version when running in debug mode. Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Diffstat (limited to 'lib/toaster/toastergui/templates/base.html')
-rw-r--r--lib/toaster/toastergui/templates/base.html6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/toaster/toastergui/templates/base.html b/lib/toaster/toastergui/templates/base.html
index e95b5e0ca..6f249bcf2 100644
--- a/lib/toaster/toastergui/templates/base.html
+++ b/lib/toaster/toastergui/templates/base.html
@@ -59,6 +59,12 @@
<div class="navbar-inner">
<a class="brand logo" href="#"><img src="{% static 'img/logo.png' %}" class="" alt="Yocto logo project"/></a>
<a class="brand" href="/">Toaster</a>
+ {% if DEBUG %}
+ <div style="display: inline;" class="version-brand">
+ <p class="version-text">version {{TOASTER_VERSION}}</p>
+ <p class="version-text">{%if MANAGED%}managed{%else%}interactive{%endif%} mode</p>
+ </div>
+ {% endif %}
<a class="pull-right manual" target="_blank" href="http://www.yoctoproject.org/documentation/toaster-manual">
<i class="icon-book"></i>
Toaster manual