unsubscribe_line

NAML documentation   Watch a video
   Usages of this macro
... in email.naml
149
150
151
152
153
154
<macro name="unsubscribe_line" parameters="format" requires="subscription">
    <n.if
Binary
Namespace: BasicNamespace
Parameters: condition, else, then
.equal
Binary
Namespace: BasicNamespace
Parameters: value2, value1
 value1="[n.format/]" value2="html">
        <then><t>To unsubscribe from <t.location.node
Binary
Namespace: SubscriptionNamespace
Parameters: do
.subject
Macro
Requires: node
/></t>, <a href="[n.unsubscribe_by_code_url
Macro
Requires: subscription
/]"><t>click here</t></a>.</then>
        <else><t>To unsubscribe from <t.location.node
Binary
Namespace: SubscriptionNamespace
Parameters: do
.subject
Macro
Requires: node
/></t>, <t>visit <t.url.unsubscribe_by_code_url
Macro
Requires: subscription
/></t></else>
    </n.if.equal>
</macro>