app_subscription_controls

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 "app_subscription_controls".
... in app_subscription_controls.naml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
<override_macro name="app_subscription_controls">
    <table style="margin:.2em 0 .5em">
        <tr>
            <td><img src="[n.page_node.image_icon/]" class="image16"/></td>
            <td class="weak-color" style="font-weight:bold">
                <n.page_node.subject/>
            </td>
        </tr>
    </table>
    <div style="margin:.5em 1em .2em">
        <n.subscription_to_field.radio id="all" option_value="DESCENDANTS"/>
        <label for="all">
            <n.if.page_node.is_app>
                <then><t>Receive a digest containing every message posted in <t.location><n.italic.page_node.subject/></t.location>.</t></then>
                <else><t>Receive a digest containing new topics only.</t></else>
            </n.if.page_node.is_app>
        </label>
    </div>
    <div style="margin:0 1em .2em">
        <n.subscription_to_field.radio id="direct" option_value="CHILDREN"/>
        <label for="direct">
            <n.if.page_node.is_app>
                <then><t>Receive a digest containing new topics only.</t></then>
                <else><t>Receive a digest containing direct replies only.</t></else>
            </n.if.page_node.is_app>
        </label>
    </div>
    <div style="display:none">
    <div style="margin:1em 0;font-weight:bold">
        <t>Subscription Format</t>
    </div>
    <div style="margin:.5em 1em .2em">
        <n.subscription_type_field.radio id="individual" option_value="INSTANT"/>
        <label for="individual"><t>Individual emails</t> <span class="weak-color"><t>(you can reply by email)</t></span></label>
    </div>
    <div style="margin:0 1em .2em">
        <n.subscription_type_field.radio id="daily" option_value="DAILY_DIGEST"/>
        <label for="daily"><t>Daily digest</t></label>
    </div>
    </div>
</override_macro>
Overrides default macro
... in subscribe.naml
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
137
138
139
140
141
142
<macro name="app_subscription_controls">
    <table style="margin:.2em 0 .5em">
        <tr>
            <td><img src="[n.page_node.image_icon/]" class="image16"/></td>
            <td class="weak-color" style="font-weight:bold">
                <n.page_node.subject/>
            </td>
        </tr>
    </table>
    <div style="margin:.5em 1em .2em">
        <n.subscription_to_field.radio id="all" option_value="DESCENDANTS"/>
        <label for="all">
            <n.if.page_node.is_app>
                <then><t>Receive every message posted in <t.location><n.italic.page_node.subject/></t.location>.</t></then>
                <else><t>Receive every reply under this topic.</t></else>
            </n.if.page_node.is_app>
        </label>
    </div>
    <div style="margin:0 1em .2em">
        <n.subscription_to_field.radio id="direct" option_value="CHILDREN"/>
        <label for="direct">
            <n.if.page_node.is_app>
                <then><t>Receive new topics only.</t></then>
                <else><t>Receive direct replies only.</t></else>
            </n.if.page_node.is_app>
        </label>
    </div>
    <div style="margin:1em 0;font-weight:bold">
        <t>Subscription Format</t>
    </div>
    <div style="margin:.5em 1em .2em">
        <n.subscription_type_field.radio id="individual" option_value="INSTANT"/>
        <label for="individual"><t>Individual emails</t> <span class="weak-color"><t>(you can reply by email)</t></span></label>
    </div>
    <div style="margin:0 1em .2em">
        <n.subscription_type_field.radio id="daily" option_value="DAILY_DIGEST"/>
        <label for="daily"><t>Daily digest</t></label>
    </div>
</macro>