File tree Expand file tree Collapse file tree 8 files changed +2
-60
lines changed
strictdoc/export/html/templates Expand file tree Collapse file tree 8 files changed +2
-60
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 5555 {# {{ section.document_is_included() }} {{ section.get_parent_or_including_document().reserved_title }}/{{ section.get_document().reserved_title }} #}
5656 {% - endif -%}
5757 </a >
58- {% - endif -%}
5958
6059 {% - if not loop .last -%}
6160 {% - if loop .nextitem [0].ng_level > section .ng_level -%}
Original file line number Diff line number Diff line change 1111
1212 {%- if node.is_document() %}
1313 {% include "components/section/index_extends_node.jinja" %}
14- {%- elif node.is_section() %}
15- {% include "components/section/index_extends_node.jinja" %}
1614 {%- elif node.is_requirement() %}
1715 {# {%- if node.is_text_node() %}
1816 {% include "components/text_node/index_extends_node.jinja" %}
Original file line number Diff line number Diff line change 3232 {% else %} #}
3333 {% include "components/node_content/index_extends_readonly.jinja" %}
3434 {# {% endif %} #}
35-
36- {% - elif node .is_section () %}
37- {# needed for self.local_anchor_cache: #}
38- {% - set section = node %}
39- {# needed for template: #}
40- {% - set sdoc_entity = node -%}
41- {% include "components/section/pdf.jinja" %}
4235 {% - endif %}
4336
4437 {% - endfor %}
Original file line number Diff line number Diff line change 127127 </td >
128128 {% - endfor -%}
129129 </tr >
130- {% - elif node .is_section () %}
131- {% - set section = node %}
132- <tr >
133- <td class =" content-view-td content-view-td-type" >Section</td >
134- <td class =" content-view-td content-view-td-meta" >{{ section.context.title_number_string }}</td >
135- {% - for meta_field_title in view_object .document .enumerate_meta_field_titles () -%}
136- <td class =" content-view-td content-view-td-meta" ></td >
137- {% - endfor -%}
138- <td class =" content-view-td content-view-td-meta" >{# Children & Parents #} </td >
139- <td class =" content-view-td content-view-td-title" colspan =" 4" >
140- {% - if section .title %}
141- {% - with sdoc_entity =section -%}
142- {% include "components/anchor/index.jinja" %}
143- {% - endwith %}
144- <div class =" requirement__title" >
145- {{ section.title }}
146- </div >
147- {% - for meta_field_title in view_object .document .enumerate_custom_content_field_titles () -%}
148- <td class =" content-view-td" >
149- </td >
150- {% - endfor -%}
151- {% - endif -%}
152- </td >
153- </tr >
154- {% - endif %}
155130 {% - endfor %}
156131 </table >
157132 </div >
Original file line number Diff line number Diff line change 33 {% include "_shared/tags.jinja.html" %}
44 <div class =" content" >
55 {% - for node , _ in view_object .document_content_iterator () %}
6- {% - if node .is_section () %}
7- <section class =" content_section" >
8- <div class =" content_item" data-role =" parents" ></div >
9- <div class =" content_item" data-role =" current" >
10- {% - set section = node %}
11- {% include "components/section/card_extends_card.jinja" %}
12- </div >
13- <div class =" content_item" data-role =" children" ></div >
14- </section >
15- {% - elif node .is_requirement () %}
6+ {% - if node .is_requirement () %}
167 {% - if node .is_text_node () %}
178 <section class =" content_section" >
189 <div class =" content_item" data-role =" parents" ></div >
Original file line number Diff line number Diff line change 3737 {% - if section_or_requirement .is_requirement () %}
3838 {% - set requirement = section_or_requirement %}
3939 {% include "screens/git/node/requirement.jinja" %}
40-
41- {% - elif section_or_requirement .is_section () %}
42- {% - set section = section_or_requirement %}
43- {% include "screens/git/node/section.jinja" %}
4440 {% - endif %}
4541 {% - endfor -%}
4642 </details >
Original file line number Diff line number Diff line change 88{% - endif -%}
99
1010{% - for node_ in section .section_contents -%}
11- {% - if node_ .__class__ .__name__ == "DocumentFromFile" or node_ . is_section -%}
11+ {% - if node_ .__class__ .__name__ == "DocumentFromFile" -%}
1212 {% - with section = node_ -%}
1313 {% - include "screens/project_index/project_map_section.jinja" -%}
1414 {% - endwith -%}
You can’t perform that action at this time.
0 commit comments