diff options
author | Alexandru DAMIAN <alexandru.damian@intel.com> | 2015-02-06 15:32:18 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-02-10 23:07:48 +0000 |
commit | d81e5141c10a97bf5764892f9b20933b751c1da3 (patch) | |
tree | 64a82acb15fe06a8a23e9618ff6a8eb18f604513 /bitbake/lib/toaster/toastergui/templates | |
parent | da8110a86ad8b57b8c41873d40aeac346ee66b88 (diff) | |
download | ast2050-yocto-poky-d81e5141c10a97bf5764892f9b20933b751c1da3.zip ast2050-yocto-poky-d81e5141c10a97bf5764892f9b20933b751c1da3.tar.gz |
bitbake: 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.
(Bitbake rev: 93e4f8c44273f4657c5be4c00b61db12aa875e31)
Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/toaster/toastergui/templates')
-rw-r--r-- | bitbake/lib/toaster/toastergui/templates/base.html | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/bitbake/lib/toaster/toastergui/templates/base.html b/bitbake/lib/toaster/toastergui/templates/base.html index e95b5e0..6f249bc 100644 --- a/bitbake/lib/toaster/toastergui/templates/base.html +++ b/bitbake/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 |