bitbake: toaster: Base html fix to set the page title

Set title of the page if the context includes objectname.

(Bitbake rev: 8bfd140b93bcbfe8be4dd8a30268d3cc033e180f)

Signed-off-by: Ravi Chintakunta <ravi.chintakunta@timesys.com>
Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Ravi Chintakunta 2014-01-15 14:55:06 -05:00 committed by Richard Purdie
parent dfd7a8a27a
commit 4acdf8aaf1
1 changed files with 1 additions and 1 deletions

View File

@ -2,7 +2,7 @@
{% load static %}
<html>
<head>
<title>Toaster</title>
<title>{% if objectname %} {{objectname|title}} - {% endif %}Toaster</title>
<link rel="stylesheet" href="{% static 'css/bootstrap.min.css' %}" type="text/css">
<link rel="stylesheet" href="{% static 'css/bootstrap-responsive.min.css' %}" type='text/css'>
<link rel="stylesheet" href="{% static 'css/font-awesome.min.css' %}" type='text/css'>