Changes between Initial Version and Version 1 of Ticket #24232, comment 2
- Timestamp:
- Jan 30, 2015, 12:28:58 PM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #24232, comment 2
initial v1 1 1 #9173 is for rendering a block only if a child template also defines that block and has some content in it. 2 2 3 This ticket is for the more general usage of rendering a block only if some condition is true. We cannot currently put block tags inside if tags, and this would solve that. 3 This ticket is for the more general usage of rendering a block only if some condition is true. We cannot currently put `{% block %}` tags inside `{% if %}` tags, and this would solve that. 4 5 (Or rather, we can do that, but the block will always be rendered.)