send_subscription_invite.naml

<override_macro name="send_subscription_invite" requires="subscription,node_page,servlet">
    <n.set_local_subscription.this_subscription />
    <n.new_email.>
        <n.send>
            <to><n.user.user_email/></to>
            <subject><t>Subscribe to <t.location.page_node.subject/></t></subject>
            <text_part>
                <t>Dear Dr. Geo user,</t>

                <t><t.owner_name.page_node.owner.name/> is inviting you to subscribe to <t.location.page_node.subject/> forum because your registered to Dr. Geo.</t>
               

                <t>With your subscription, updates will be sent directly to your email address. You can read the forum and manage your account from: 
                <n.page_node.url/></t>
                
                <t>To confirm your subscription, click on the link below:</t>
                <n.local_subscription.send_subscription_invite_subscribe_by_code_url/>

                <t>If you don't want to subscribe, just delete this message.</t>
                
                <t>Sincerely,</t>
                <t>The Dr. Geo team</t>    
            </text_part>
            <html_part>
                <t>Dear Dr. Geo user,</t><br/>
                <br/>
                <t><t.owner_name.page_node.owner.name/> is inviting you to subscribe to <t.location.bold.page_node.subject/> forum because you registered to Dr. Geo.</t><br/>

                <br/>
                <t>With your subscription, updates will be sent directly to your email address. You can also read the forum and manage your account from:</t> 
                <a href="[n.page_node.url/]"><n.page_node.url/></a><br/>
                <br/>
                <t>To confirm your subscription, click on the link below:</t>
                <div style="background-color:#FFFADB;border:#EDDD79 solid 1px;margin:1.2em 0;padding:.5em">
                    <a href="[n.local_subscription.send_subscription_invite_subscribe_by_code_url/]">
                        <n.local_subscription.send_subscription_invite_subscribe_by_code_url/>
                    </a>
                    <br/>
                </div>
                <t>If you don't want to subscribe, just delete this message.</t><br/><br/>
                <t>Sincerely,</t><br/>
                <t>The Dr. Geo team</t><br/>
            </html_part>
        </n.send>
    </n.new_email.>
</override_macro>