user_profile.naml

<override_macro name="message_with_signature" requires="node">    
    <n.node_message_as_html />    
    <n.if>     
        <condition>  
            <n.either>  
                <condition1.owner.is_in_group group="Members" />    
                <condition2.owner.is_site_admin/>  
            </n.either>  
        </condition>  
        <then>      
            <n.if.both condition1="[n.owner.has_signature/]" condition2="[n.owner.is_active/]">    
                <then>                
                    <div class="signature weak-color">    
                        <n.owner.signature_as_html/>    
                    </div>    
                </then>    
            </n.if.both>    
        </then>                
    </n.if>    
</override_macro>