send_email_to_user_link

NAML documentation   Watch a video
   Usages of this macro
The source code below doesn't have navigation links because no usage has been compiled yet. Navigation links depend on how and where the macro is used, so first you may try finding all usages of "send_email_to_user_link".
... in send_email_to_user_link.naml
1
2
<override_macro name="send_email_to_user_link" requires="user">
</override_macro>
Overrides default macro
... in user_profile.naml
222
223
224
225
226
227
228
229
230
231
232
233
<macro name="send_email_to_user_link" requires="user">
    <n.set_local_user.this_user />
    <!-- If this is not the profile of the visitor AND the user is authenticated -->
    <n.if.both condition1="[n.not.visitor.equals.local_user/]" condition2="[n.local_user.is_authenticated/]">
        <then>
            <div style="margin-top:.5em">
                <img src="/images/mail.png" align="absmiddle" width="18" height="13"/>
                <a href="[n.local_user.send_email_path/]"><t>Send Email to <t.author.local_user.name/></t></a>
            </div>
        </then>
    </n.if.both>
</macro>