Skip to content

Commit aa2b4fc

Browse files
committed
update title
1 parent 8699e57 commit aa2b4fc

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

adminlteui/templates/admin/base_site.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
{% extends 'admin/base.html' %}
2+
{% block title %}{{ title }} | {{ site_title|default:_('Django site admin') }}{% endblock %}
23
{% block page_content %}
34
{% load i18n %}
45

@@ -9,7 +10,7 @@
910
<div id="container">
1011
{% if not is_popup %}
1112
<section class="content-header">
12-
{% block content_title %}{% if title %}<h1>{{ title }}</h1>{% endif %}{% endblock %}
13+
<h1>{% block content_title %}{% endblock %}</h1>
1314
{% block breadcrumbs %}{% endblock %}
1415
</section>
1516
{% endif %}
@@ -33,8 +34,7 @@ <h5><i class="icon fa fa-check"></i>{{ message|capfirst }}</h5>
3334
<div class="box box-primary">
3435
<div class="box-header with-border">
3536
<h4 class="box-title">
36-
<i class="fa fa-clipboard"></i>
37-
{% trans 'search result' %}{% block pretitle %}{% endblock %}
37+
{{title}}{% block pretitle %}{% endblock %}
3838
</h4>
3939
</div>
4040

0 commit comments

Comments
 (0)