app_subscription_controls

   Usages of this 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
Binary
Namespace: NodePageNamespace
Parameters: do
.image_icon
Macro
Requires: node
/]" class="image16"/></td>
            <td class="weak-color" style="font-weight:bold">
                <n.page_node
Binary
Namespace: NodePageNamespace
Parameters: do
.subject
Macro
Requires: node
/>
            </td>
        </tr>
    </table>
    <div style="margin:.5em 1em .2em">
        <n.subscription_to_field
Macro
Parameters: do
.radio
Macro
Requires: field
Parameters: option_value, id
 id="all" option_value="DESCENDANTS"/>
        <label for="all">
            <n.if
Binary
Namespace: BasicNamespace
Parameters: condition, else, then
.page_node
Binary
Namespace: NodePageNamespace
Parameters: do
.is_app
Binary
Namespace: NodeNamespace
>
                <then><t>Receive every message posted in <t.location><n.italic
Macro
Parameters: text
.page_node
Binary
Namespace: NodePageNamespace
Parameters: do
.subject
Macro
Requires: node
/></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
Macro
Parameters: do
.radio
Macro
Requires: field
Parameters: option_value, id
 id="direct" option_value="CHILDREN"/>
        <label for="direct">
            <n.if
Binary
Namespace: BasicNamespace
Parameters: condition, else, then
.page_node
Binary
Namespace: NodePageNamespace
Parameters: do
.is_app
Binary
Namespace: NodeNamespace
>
                <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
Macro
Parameters: do
.radio
Macro
Requires: field
Parameters: option_value, id
 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
Macro
Parameters: do
.radio
Macro
Requires: field
Parameters: option_value, id
 id="daily" option_value="DAILY_DIGEST"/>
        <label for="daily"><t>Daily digest</t></label>
    </div>
</macro>