subcategories_column

NAML documentation   Watch a video
   Usages of this macro
The source code below doesn't have navigation links because no usage has been compiled yet. Navigation links depend on how and where the macro is used, so first you may try finding all usages of "subcategories_column".
... in tweaks.naml
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
<override_macro name="subcategories_column" parameters="title,width">
  <n.table_column>
    <head>
      <td class="[n.column_default_border/] subcategories-column" style="[n.width_style.width/]" colspan="2">
        <n.default. to="[t]Forums[/t]"><n.title/></n.default.>
      </td>
    </head>
    <body>
      <td class="[n.column_default_border/]" style="width:1em">
        <n.if.current_node.is_app>
          <then><img src="/images/forum.png" width="25" height="23"/></then>
          <else><img src="/images/thread.png" width="25" height="23"/></else>
        </n.if.current_node.is_app>
      </td>
      <td class="weak-color [n.column_default_border/]" style="width:60%">
        <div style="font-weight:bold;margin-bottom:.3em">
          <n.current_node.node_link/>
        </div>
        <span class="weak-color node-snippet" style="font-size:90%;display:block;padding-bottom:.5em">
          <n.if.current_node.is_app>
            <then.current_node.node_message_as_html/>
            <else>
              <n.truncate. size="300">
                <n.remove_html_tags.current_node.message.as_text/>
              </n.truncate.>
            </else>
          </n.if.current_node.is_app>
        </span>
      </td>
    </body>
  </n.table_column>
</override_macro>
Overrides default macro
... in columns.naml
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
<macro name="subcategories_column" parameters="title,width">
    <n.table_column>
        <head>
            <td class="[n.column_default_border/] subcategories-column nowrap" style="[n.width_style.width/]" colspan="2">
                <n.default. to="[t]Subcategories[/t]"><n.title/></n.default.>
            </td>
        </head>
        <body>
            <td class="[n.column_default_border/]" style="width:1em">
                <n.if.current_node.is_app>
                    <then><img src="/images/forum.png" width="25" height="23"/></then>
                    <else><img src="/images/thread.png" width="25" height="23"/></else>
                </n.if.current_node.is_app>
            </td>
            <td class="weak-color [n.column_default_border/] adbayes-content" style="width:60%">
                <div style="font-weight:bold;margin-bottom:.3em">
                    <n.current_node.node_link/>
                </div>
                <span class="weak-color node-snippet" style="font-size:90%;display:block;padding-bottom:.5em">
                    <n.if.current_node.is_app>
                        <then.current_node.node_message_as_html/>
                        <else>
                            <n.truncate. size="300">
                                <n.remove_html_tags.current_node.message.as_text/>
                            </n.truncate.>
                        </else>
                    </n.if.current_node.is_app>
                    <n.if.current_node.has_subapps>
                        <then>
                            <div class="sub-forums weak-color">
                                <b><t>Sub-Forums</t>:</b>
                                <n.current_node.subapps_list.loop.>
                                    <n.current_node.node_link class="nowrap" />&#32;
                                </n.current_node.subapps_list.loop.>
                            </div>
                        </then>
                    </n.if.current_node.has_subapps>
                </span>
            </td>
        </body>
    </n.table_column>
</macro>