Skip to content
This repository has been archived by the owner on Nov 4, 2024. It is now read-only.

Commit

Permalink
Adding no_heading block
Browse files Browse the repository at this point in the history
  • Loading branch information
adamcharnock committed Jun 14, 2017
1 parent 1fe9eb4 commit 4ef0655
Showing 1 changed file with 13 additions and 11 deletions.
24 changes: 13 additions & 11 deletions django_adminlte/templates/adminlte/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -33,18 +33,20 @@
<div class="content-wrapper">
{% block content_header %}
<section class="content-header">
<h1>
{% block page_name %}{% endblock %}
<div class="header-actions">
{% block page_actions %}{% endblock %}
</div>
{% block no_description %}
<small>{% block page_description %}{% endblock %}</small>
{% block no_heading %}
<h1>
{% block page_name %}{% endblock %}
<div class="header-actions">
{% block page_actions %}{% endblock %}
</div>
{% block no_description %}
<small>{% block page_description %}{% endblock %}</small>
{% endblock %}
</h1>
{% block breadcrumbs %}
{# Breadcrumb implementation left to developers #}
{% endblock %}
</h1>
{% block breadcrumbs %}
{# Breadcrumb implementation left to developers #}
{% endblock %}
{% endblock no_heading %}
</section>
{% endblock %}

Expand Down

0 comments on commit 4ef0655

Please sign in to comment.