Userguide changes
[snf-cloudcms] / cloudcmsguide / templates / cloudcmsguide / detail.html
index 01f283b..e0992be 100644 (file)
                                {% endif %}
                        </h2>
                         
-                        {% for category, questions in service|get_service_faqs %}
-
-                               {% if service == question.service %}
-              <h3>{{ category.translation.title }}</h3>
-              <ul>
-                {% for q in questions %}
-                  <li>
-                     {% if q != question %}<a href="{{ q.get_absolute_url }}">{% endif %}{{ q.title }}{% if q != question %}</a>{% endif %}
-                  </li>
-                  {% endfor %}
-                  <br />
-              </ul>
-                  {% endif %}
-                {% endfor %}
+                               {% if service == entry.service %}
+                               <ul>
+                           {% for e in service.userguideentries.active %}
+                               <li>{% if e != entry %}<a href="{{ e.get_absolute_url }}">{% endif %}{{ e.title }}{% if e != entry %}</a>{% endif %}</li>
+                           {% endfor %}
+                               </ul>
+                       {% endif %}
+                 
                </div>
                {% endfor %}
        </div>