django-adminlte3 icon indicating copy to clipboard operation
django-adminlte3 copied to clipboard

block nav_bar overriding other navbar blocks

Open rsa80610 opened this issue 5 years ago • 0 comments
trafficstars

When extending from _main_header.html, I noticed that {% block nav_bar%} will override other block such as nav_bar_center and nav_custom_menu's content. After checking the source code, i found that nav_bar's {% endblock %} was placed in the end of the main_header code(in front the tag), causing the overriding problem.

image

Although it can be fixed by moving {% endblock %} to the end of navbar-nav part, i think that problem should be mentioned.

image

The whole project does very significant improvements for developing adminlte-template web to me, thanks for the all hard work!

rsa80610 avatar Apr 22 '20 09:04 rsa80610