| Revision 2157,
629 bytes
checked in by msaelices, 22 months ago
(diff) |
|
Better template name. See #1.
|
| Line | |
|---|
| 1 | {% extends "block.html" %} |
|---|
| 2 | |
|---|
| 3 | {% load inlinetrans %} |
|---|
| 4 | |
|---|
| 5 | {% block blocktitle %} |
|---|
| 6 | <h1>{% inline_trans "Merengue features" %}</h1> |
|---|
| 7 | {% endblock %} |
|---|
| 8 | |
|---|
| 9 | {% block blockbody %} |
|---|
| 10 | <div id="features"> |
|---|
| 11 | {% for feature in features_list %} |
|---|
| 12 | <div class="{% cycle 'odd' 'even' %}"> |
|---|
| 13 | {% if feature.icon %} |
|---|
| 14 | <img src="{{ feature.icon.url }}"/> |
|---|
| 15 | {% endif %} |
|---|
| 16 | <h2 title="{{ feature }}"><a href="{{ feature.get_absolute_url }}">{{ feature }}</a></h2> |
|---|
| 17 | <div class="description"> |
|---|
| 18 | {{ feature.description|safe|truncatewords_html:20 }} |
|---|
| 19 | </div> |
|---|
| 20 | </div> |
|---|
| 21 | {% endfor %} |
|---|
| 22 | </div> |
|---|
| 23 | {% endblock %} |
|---|
Note: See
TracBrowser
for help on using the repository browser.