instant_text

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_text".
... in instant_text.naml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<override_macro name="instant_text" requires="subscription,node_page" unindent="true">
    <n.set_local_subscription.this_subscription/>
    Hello <n.local_subscription.user.name/>,
 
    You are receiving this notification because you are watching
    the NY Ski <n.root_node.harvey_app_type/>.
    <n.if.page_node.is_app>
        <then>This is just to let you know that <n.page_node.owner.name/> created a new subcategory called "<n.page_node.subject/>":</then>
        <else.if.page_node.is_topic>
            <then>There is a new topic called "<n.page_node.subject/>" available at:</then>
            <else>There is a new reply to the "<n.page_node.topic_node.subject/>" topic:</else>
        </else.if.page_node.is_topic>
    </n.if.page_node.is_app>
 
    <n.page_node.url/>
    <n.local_subscription.user.show_text_for_admins format="text"/>
    * <n.unsubscribe_line format="text"/>
    ______________________________________
    The New York Ski Blog | NY Ski <n.root_node.harvey_app_type/>
    <n.base_url/>
</override_macro>
Overrides default macro
... in content_news_summary.naml
49
50
51
52
53
<override_macro name="instant_text" requires="subscription,node_page" unindent="true">
    <n.regex_replace_all. pattern="[n.summary_regex/]" replacement="">
        <n.overridden/>
    </n.regex_replace_all.>
</override_macro>
Overrides default macro
... in email.naml
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
<macro name="instant_text" requires="subscription,node_page" unindent="true">
    <n.if.page_node.is_app>
        <then>
            <t><t.username.page_node.owner.name/> created a new subcategory</t>:
            <n.page_node.subject/>
        </then>
    </n.if.page_node.is_app>
 
    <n.page_node.text_email_message_with_signature />
    _______________________________________________
    <t>If you reply to this email, your message will be added to the discussion below</t>:
    <n.page_node.url/>
    <n.start_new_topic_line/>
    <n.unsubscribe_line format="text"/>
</macro>