Changes between Initial Version and Version 3 of Ticket #6646
- Timestamp:
- Jun 23, 2008, 12:47:06 PM (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #6646
- Property Component Template system → Documentation
- Property Triage Stage Unreviewed → Accepted
-
Ticket #6646 – Description
initial v3 3 3 For example: 4 4 5 base.html 5 base.html: 6 {{{ 6 7 {% if is_satchmo %} 7 8 {% include "satchmo_base.html" %} … … 9 10 {% include "journal_base.html" %} 10 11 {% endif %} 12 }}} 11 13 12 14 journal_base.html contains the following block: 15 {{{ 13 16 {% block content%}{% endblock %} 17 }}} 14 18 15 19 view_template.html extends base.html (with the context variable is_satchmo == False). view_template.html contains {% block content%}{% endblock %} which should filled with data from the view's context variable.