Statistics
| Branch: | Tag: | Revision:

root / cloudcmsfaq / templates / cloudcmsfaq / archive.html @ 59ab14be

History | View | Annotate | Download (1 kB)

1
{% load applicationcontent_tags pagination_tags i18n cloudcms_tags %}
2

    
3
<div class="faq">
4
 
5
        {% for service in services %}
6
            {% if service.get_first_question %}
7
            <div class="two-cols clearfix unequal-dotted">
8
                    <div class="rt">
9
                            <img src="{{ service.image_faq.get_absolute_url }}" alt="{{ service.image_faq.title }}" />
10
                    </div>
11
                    <div class="lt">
12
                            <div class="faq-category {{ service.class_name }}">
13
                                <h2>{{ service.translation.title_faq|upper }}</h2>
14
                                    {% for category, questions in service|get_service_faqs %}
15
                              <h3>{{ category.translation.title }}</h3>
16
                              <ul>
17
                                {% for q in questions %}
18
                                  <li {% if  == question %}class="current"{% endif %}>
19
                                    <a href="{{ q.get_absolute_url }}">{{ q.title }}</a>
20
                                  </li>
21
                                  {% endfor %}
22
                                  <br />
23
                              </ul>
24
                            {% endfor %}
25
                            </div>
26
                    </div>
27
         
28
        
29
            </div>
30
            {% endif %}
31
    {% endfor %}
32
</div>