start_new_topic_line

NAML documentation   Watch a video
   Usages of this macro
... in email.naml
171
172
173
174
175
176
177
178
179
<macro name="start_new_topic_line" parameters="append" requires="subscription, node_page">
    <n.set_local_user
Macro
Parameters: user
.this_subscription
Binary
Namespace: SubscriptionNamespace
Parameters: do
.user
Binary
Namespace: SubscriptionNamespace
Parameters: do
/>
    <n.set_local_node
Macro
Parameters: node
.page_node
Binary
Namespace: NodePageNamespace
Parameters: do
.get_app_node
Binary
Namespace: NodeNamespace
Parameters: do
/>
    <n.if
Binary
Namespace: BasicNamespace
Parameters: condition, else, then
.both
Binary
Namespace: BasicNamespace
Parameters: condition1, condition2
 condition1="[n.local_user
Macro
Parameters: do
.has_subscription_to_descentants_of
Binary
Namespace: UserNamespace
Parameters: node
.local_node
Macro
Parameters: do
/]" condition2="[n.local_user
Macro
Parameters: do
.can_reply_to
Macro
Requires: user
Parameters: node_attr
.local_node
Macro
Parameters: do
/]">
        <then>
            <t>To start a new topic under <t.location.local_node
Macro
Parameters: do
.subject
Macro
Requires: node
/>, email <t.p2.local_node
Macro
Parameters: do
.user_address
Binary
Namespace: NodeNamespace
Parameters: email
 email="[n.local_user
Macro
Parameters: do
.user_email
Binary
Namespace: UserNamespace
/]"/></t> <n.hide_null
Binary
Namespace: BasicNamespace
Parameters: value
.append/>
        </then>
    </n.if.both>
</macro>