node_message_as_html

NAML documentation   Watch a video
   Usages of this macro
... in poll.naml
36
37
38
39
40
41
42
43
44
45
46
47
<override_macro name="node_message_as_html" requires="node">
    <n.overridden />
 
    <n.comment
Macro
Parameters: text
.>
        If this is a topic page (which calls the "message_text" command), then show the poll.
        Otherwise (email messages), print a link to the poll.
    </n.comment.>
    <n.if
Binary
Namespace: BasicNamespace
Parameters: condition, else, then
.is_in_command
Binary
Namespace: BasicNamespace
Parameters: name
 name="email_message">
        <then.poll_link
Macro
Requires: node
/>
        <else.poll
Macro
Requires: node
/>
    </n.if.is_in_command>
</override_macro>
Overrides default macro
... in message.naml
21
22
23
<macro name="node_message_as_html" requires="node">
    <n.node_message_block
Macro
Requires: node
Parameters: do
.message
Binary
Namespace: NodeNamespace
Parameters: do
.message_as_html
Macro
Requires: message
 />
</macro>