aboutsummaryrefslogtreecommitdiffstats
path: root/lib/toaster/toastergui/templates/package_detail_base.html
diff options
context:
space:
mode:
authorBelen Barros Pena <belen.barros.pena@intel.com>2015-10-28 14:22:05 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-10-29 07:31:52 +0000
commit1ab8827d684a19a70f3b788aed2327bf30edffe2 (patch)
treef29060aea886c1205830db3a86a28f15cfb02fc7 /lib/toaster/toastergui/templates/package_detail_base.html
parent349119f44cdad240dda7f4db45992e2539e1416f (diff)
downloadbitbake-contrib-1ab8827d684a19a70f3b788aed2327bf30edffe2.tar.gz
toaster: templates Add meaningful title tags
Our title tags are all over the place, and have no relation to the page content. This commit adds a meaningful title tag to each Toaster page. Signed-off-by: Belen Barros Pena <belen.barros.pena@intel.com> Signed-off-by: Michael Wood <michael.g.wood@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'lib/toaster/toastergui/templates/package_detail_base.html')
-rw-r--r--lib/toaster/toastergui/templates/package_detail_base.html11
1 files changed, 9 insertions, 2 deletions
diff --git a/lib/toaster/toastergui/templates/package_detail_base.html b/lib/toaster/toastergui/templates/package_detail_base.html
index a24bc8e43..9fa28a8f8 100644
--- a/lib/toaster/toastergui/templates/package_detail_base.html
+++ b/lib/toaster/toastergui/templates/package_detail_base.html
@@ -1,6 +1,13 @@
{% extends "basebuilddetailpage.html" %}
{% load projecttags %}
+{% block title %}
+ {% if target %}
+ {{package.fullpackagespec}} - {{ target.target }} {{ build.machine }} - {{ build.project.name }} - Toaster
+ {% else %}
+ {{package.fullpackagespec}} - {{ build.target_set.all|dictsort:"target"|join:", " }} {{ build.machine }} - {{ build.project.name }} - Toaster
+ {% endif %}
+{% endblock %}
{% block extraheadcontent %}
<!-- functions to format package 'installed_package' alias -->
<script>
@@ -38,9 +45,9 @@
{% block pagedetailinfomain %}
<div class="row span11">
<div class="page-header">
- {% block title %}
+ {% block mainheading %}
<h1>{{package.fullpackagespec}}</h1>
- {% endblock title %}
+ {% endblock %}
</div> <!-- page-header -->
</div> <!-- row span11 page-header -->