instant_emails

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 "instant_emails".
... in workgroup.naml
174
175
176
177
178
179
180
181
182
183
184
185
186
<override_macro name="instant_emails" requires="instant_mail,node_page">
    <n.if.page_node.has_topic_node>
        <then.if.page_node.topic_node.is_assigned>
            <then>
                <n.remove_from_instant_mail.page_node.topic_assignee/>
                <n.if.page_node.topic_assignee.should_get_instant_mail>
                    <then.send_assign_email/>
                </n.if.page_node.topic_assignee.should_get_instant_mail>
            </then>
        </then.if.page_node.topic_node.is_assigned>
    </n.if.page_node.has_topic_node>
    <n.overridden />
</override_macro>
Overrides default macro
... in email.naml
5
6
7
8
9
10
11
<macro name="instant_emails" requires="instant_mail,node_page">
    <n.subscription_list.loop.>
        <n.if.current_subscription.user.should_get_instant_mail>
            <then.current_subscription.send_instant_email />
        </n.if.current_subscription.user.should_get_instant_mail>
    </n.subscription_list.loop.>
</macro>