root / cloudcmsguide / templates / cloudcmsguide / detail.html @ 594d83ef
History | View | Annotate | Download (2.4 kB)
1 |
{% load applicationcontent_tags pagination_tags i18n cloudcms_tags %} |
---|---|
2 |
|
3 |
<div class="two-cols lt-small clearfix details faq"> |
4 |
<div class="rt"> |
5 |
<div class="question details {{ entry.service.class_name }}"> |
6 |
<h2>{{ entry.title|upper }}</h2> |
7 |
<div class="content"> |
8 |
{% for content in entry.content.main %} |
9 |
{{ content.render }} |
10 |
{% endfor %} |
11 |
</div>
|
12 |
<div class="clearfix next-prev"> |
13 |
{% if entry.get_next %} |
14 |
<a href="{{ entry.get_next.get_absolute_url }}" class="next">Next ></a> |
15 |
{% endif %} |
16 |
{% if entry.get_previous %} |
17 |
<a href="{{ entry.get_previous.get_absolute_url }}" class="prev">< Previous</a> |
18 |
{% else %} |
19 |
<a href="{{ entry.back_url }}">{% trans "< Back to User Guide" %}</a> |
20 |
{% endif%} |
21 |
|
22 |
</div>
|
23 |
</div>
|
24 |
{% comment %} |
25 |
<div class="extra-menu"> |
26 |
{% for service in services %} |
27 |
{% if service == entry.service %} |
28 |
<div class="faq-category {{ service.class_name }}"> |
29 |
<h3>{{ service.translation.title_userguide|upper }}</h3> |
30 |
{% if category == entry.category %} |
31 |
|
32 |
<ul>
|
33 |
{% for e in service.userguideentries.active %} |
34 |
<li {% if = entry %}class="current"{% endif %}> |
35 |
<a href="{{ e.get_absolute_url }}"> {{ e.title }} </a> |
36 |
</li>
|
37 |
{% endfor %} |
38 |
|
39 |
</ul>
|
40 |
{% endif %} |
41 |
|
42 |
</div>
|
43 |
{% endif %} |
44 |
{% endfor %} |
45 |
</div>
|
46 |
{% endcomment %} |
47 |
</div>
|
48 |
|
49 |
<div class="lt"> |
50 |
{% for service in services %} |
51 |
{% if service.get_first_entry %} |
52 |
<div class="faq-category {{ service.class_name }}"> |
53 |
<h2>
|
54 |
{% if service != entry.service %} |
55 |
<a href="{{ service.get_first_entry.get_absolute_url }}"> |
56 |
{% endif %} |
57 |
{{ service.translation.title_userguide|upper }} |
58 |
{% if service != entry.service %} |
59 |
</a>
|
60 |
{% endif %} |
61 |
</h2>
|
62 |
|
63 |
{% if service == entry.service %} |
64 |
<ul>
|
65 |
{% for e in service.userguideentries.active %} |
66 |
<li {% if = entry %}class="current"{% endif %}> |
67 |
<a href="{{ e.get_absolute_url }}"> {{ e.title }} </a> |
68 |
</li>
|
69 |
{% endfor %} |
70 |
</ul>
|
71 |
{% endif %} |
72 |
|
73 |
</div>
|
74 |
{% endif %} |
75 |
{% endfor %} |
76 |
</div>
|
77 |
</div>
|
78 |
|
79 |
|
80 |
|
81 |
|