darklow / django-suit

Modern theme for Django admin interface
http://djangosuit.com/
Other
2.31k stars 701 forks source link

Admin interface does not display some elements #700

Open gamesbook opened 5 years ago

gamesbook commented 5 years ago

Django version: 1.11.12 Django Suit version: 2.0a1 Python version: 3.5.3

Issue:

I have noticed that certain page elements which appear in the HTML, are not rendered by Suit, depending on menu orientation.

The HTML is the same in both cases:

<!-- END Header -->

<div class="breadcrumbs">
<a href="/admin/">Home</a>
&rsaquo; <a href="/admin/core/">Core</a>
&rsaquo; Companies
</div>

    <!-- Content -->
    <div id="content" class="flex">

      <div class="content-wrap">

        <h1>Select company to change</h1>

        <div id="content-main">

        <ul class="object-tools">
            <li>
              <a href="/admin/core/company/add/?_changelist_filters=q%3Dhon" class="addlink">
                Add company
              </a>
            </li>
        </ul>

For the menu on the side, the breadcrumbs appear but not the page header (h1) element: admin-left

But for the menu on the top, breadcrumbs do not appear and the page header (h1) element is also missing: admin-top