Statistics
| Branch: | Tag: | Revision:

root / cloudcmsfaq / templates / cloudcmsfaq / archive.html @ 2a32f17b

History | View | Annotate | Download (785 Bytes)

1
{% load applicationcontent_tags pagination_tags i18n cloudcms_tags %}
2

    
3
<div class="faq">
4
    {% for service in services %}
5
    <div class="faq-category">
6
        <h2>{{ service.translation.title|upper }}</h2>
7
        <ul>
8
            <li class="category">
9
            {% for category, questions in service|get_service_faqs %}
10
              <h3>{{ category.translation.title|upper }}</h3>
11
              <ul>
12
                {% for q in questions %}
13
                  <li {% if  == question %}class="current"{% endif %}>
14
                    <a href="{{ q.get_absolute_url }}">{{ q.title }}</a>
15
                  </li>
16
                  {% endfor %}
17
                  <br />
18
              </ul>
19
            {% endfor %}
20
            </li>
21
        </ul>
22
    </div>
23
    {% endfor %}
24
</div>