Docs: view.is_popup
guettli opened this issue · comments
I don't get the "if" in this template. What does <nav>...</nav>
mean here?
If the view is a popup the navigation should be hidden....
Or is there a negation missing in the template snippet?
{{{
You may want to hide header, footer and navigation elements for the popups. When the create view is opened in a popup, the view.is_popup template variable is set:
{% if view.is_popup %}
<nav>...</nav>
{% endif %}
Or is there a negation missing in the template snippet?
Yes, thanks for the report, I'll fix this real quick