subscription_removed_user.naml

<macro name="subscription_removed_user_url">
    <n.set_local_user.get_user_from_id user_id="[n.get_parameter name='user'/]" /> 
    <n.remove_spaces.>
        <n.page_node.base_url/>
        /template/NamlServlet.jtp?macro=subscription_removed_user&node=<n.page_node.id/>&user=<n.local_user.id/>
    </n.remove_spaces.>
</macro> 


 <macro name="subscription_removed_user" requires="servlet">
    <n.node_page.>
        <n.unsubscription_msg_user
            header="[t]Subscription Removed[/t]"
            message="[t]Users subscription to [t.location.page_node.subject/] has been successfully removed.[/t]"
        />
    </n.node_page.>
</macro> 
     
<macro name="unsubscription_msg_user" parameters="header,message">
    <n.html>
        <head>
            <n.title.><n.header/></n.title.>
            <n.main_title_css/>
        </head>
        <body>
            <n.set_local_user.get_user_from_id user_id="[n.get_parameter name='user'/]" /> 
            <n.local_user.profile_header/>
            <div class="shaded-bg-color rounded second-font main-title">
                <n.header/>
            </div>
            
            <table style="margin-bottom:1em">
                <tr valign="top">
                    <td><img src="/images/success.png" class="image16"/></td>
                    <td>
                        <b><n.message/></b>  
                        <p><a href="javascript:window.history.go(-3)"><t>Return to User Subscriptions Page (then refresh to see changes)</t></a></p>
                    </td>
                </tr>
            </table>
        </body>
    </n.html>
</macro>