threaded_posts

NAML documentation   Watch a video
   Usages of this macro
... in topic.naml
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
<subroutine name="threaded_posts" requires="basic,nabble,servlet,node">
    <n.if
Binary
Namespace: BasicNamespace
Parameters: condition, else, then
.call_depth
Binary
Namespace: BasicNamespace
Parameters: do
.is_greater_than
Binary
Namespace: IntegerNamespace
Parameters: i
 i="60">
        <then>
                <div class="info-message" style="padding:.5em 1em">
                    <t>This branch is too big and some posts were omitted. Use the other views to read all posts.</t>
                </div>
            </then>
        <else>
            <div>
                <n.clickable_post
Macro
Requires: node
/>
                <n.children_list
Macro
Requires: node
Parameters: filter, start, length, sort, do
. start="0" length="10000">
                    <n.loop
Macro
Requires: sequence
Parameters: by, do
.>
                        <div class="connect-outer outer-[n.connect_class_suffix
Macro
Requires: node_list
/]">
                            <div class="connect-inner inner-[n.connect_class_suffix
Macro
Requires: node_list
/]">
                                <n.current_node
Binary
Namespace: NodeList
Parameters: do
.threaded_posts
Macro
Requires: basic, nabble, servlet, node
/>
                            </div>
                        </div>
                    </n.loop.>
                </n.children_list.>
            </div>
        </else>
    </n.if.call_depth.is_greater_than>
</subroutine>