Revision 59ab14be cloudcmsguide/templates/cloudcmsguide/detail.html
b/cloudcmsguide/templates/cloudcmsguide/detail.html | ||
---|---|---|
58 | 58 |
{% endif %} |
59 | 59 |
</h2> |
60 | 60 |
|
61 |
{% for category, questions in service|get_service_faqs %} |
|
62 |
|
|
63 |
{% if service == question.service %} |
|
64 |
<h3>{{ category.translation.title }}</h3> |
|
65 |
<ul> |
|
66 |
{% for q in questions %} |
|
67 |
<li> |
|
68 |
{% if q != question %}<a href="{{ q.get_absolute_url }}">{% endif %}{{ q.title }}{% if q != question %}</a>{% endif %} |
|
69 |
</li> |
|
70 |
{% endfor %} |
|
71 |
<br /> |
|
72 |
</ul> |
|
73 |
{% endif %} |
|
74 |
{% endfor %} |
|
61 |
{% if service == entry.service %} |
|
62 |
<ul> |
|
63 |
{% for e in service.userguideentries.active %} |
|
64 |
<li>{% if e != entry %}<a href="{{ e.get_absolute_url }}">{% endif %}{{ e.title }}{% if e != entry %}</a>{% endif %}</li> |
|
65 |
{% endfor %} |
|
66 |
</ul> |
|
67 |
{% endif %} |
|
68 |
|
|
75 | 69 |
</div> |
76 | 70 |
{% endfor %} |
77 | 71 |
</div> |
Also available in: Unified diff