Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

block nav_bar overriding other navbar blocks #16

Open
rsa80610 opened this issue Apr 22, 2020 · 0 comments
Open

block nav_bar overriding other navbar blocks #16

rsa80610 opened this issue Apr 22, 2020 · 0 comments

Comments

@rsa80610
Copy link

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 rsa80610 changed the title block nav_bar overriding other blocks block nav_bar overriding other navbar blocks Apr 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant