SUDSOL_message_header.naml

<macro name="SUDSOL_message_header" parameters="append" requires="subscription, node_page">
    <n.set_local_user.this_subscription.user/>
    <n.set_local_node.page_node.get_app_node/>
    <n.if.equal value1="[n.local_node.subject/]" value2="Next Months Article Staging Area">
        <then>
            <t>NOTE: This email is only being distributed to NEWSLETTER CO-OP Members.</t> <n.hide_null.append/><br/><br/>
            <div style="color:#444; font: 12px tahoma,geneva,helvetica,arial,sans-serif;">
                <a href="mailto:[n.page_node.owner.user_email/]?subject=[n.page_node.subject/]">Click here to reply directly to <n.page_node.owner.name/> privately at <n.page_node.owner.user_email/></a>
                <div style="font-weight:bold"><t>If you just reply to this email, your message will go back to ONLY Newsletter Co-op members.</t></div>
            </div>
            <hr noshade="noshade" size="1" color="#cccccc" />
        </then>
        <else>
            <n.if.equal value1="[n.local_node.subject/]" value2="CLOSED Coordinator Discussion Area">
                <then>
                    <t>NOTE: This email is only being distributed to SUDSOL Coordinators - replies will also go only to the coordinators.</t><n.hide_null.append/><br/><br/>
                    <div style="color:#444; font: 12px tahoma,geneva,helvetica,arial,sans-serif;">
                        <a href="mailto:[n.page_node.owner.user_email/]?subject=[n.page_node.subject/]">Click here to reply directly to <n.page_node.owner.name/> privately at <n.page_node.owner.user_email/></a>
                        <div style="font-weight:bold"><t>If you just reply to this email, your message will go back to ONLY the SUDSOL coordinators.</t></div>
                    </div>
                    <hr noshade="noshade" size="1" color="#cccccc" />
                    </then>
                <else>
                     <n.if.equal value1="[n.local_node.subject/]" value2="Goal Talk and Support">
                         <then>
                             <t>NOTE: This email is only being distributed to participants in the Goal Support Program.</t><n.hide_null.append/><br/><br/>
                             <div style="color:#444; font: 12px tahoma,geneva,helvetica,arial,sans-serif;">
                              <div style="font-weight:bold"><t>Just reply to this email to send your response only to the Goal Support program participants.</t></div>
                             </div>
                             <hr noshade="noshade" size="1" color="#cccccc" />
                         </then>
                         <else>
                             <div style="color:#444; font: 12px tahoma,geneva,helvetica,arial,sans-serif;">
                             <a href="mailto:[n.page_node.owner.user_email/]?subject=[n.page_node.subject/]">Click here to reply directly to <n.page_node.owner.name/> privately at <n.page_node.owner.user_email/></a>
                             <div style="font-weight:bold"><t>If you just reply to this email, your message will go to all SUDSOL members, unless you change the To: email address to the author: <n.page_node.owner.user_email/></t></div>
                             </div>
                             <hr noshade="noshade" size="1" color="#cccccc" /> <n.hide_null.append/>
                 
                         </else>
                     </n.if.equal>  
                </else>
             </n.if.equal>
          </else>
     </n.if.equal>
    
</macro>