send_request_email

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_request_email".
... in send_request_email.naml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
<override_macro name="send_request_email" parameters="explanation" requires="user,node_page" unindent="true">
    <n.new_email.>
        <n.send>
            <to><n.user_email/></to>
            <subject><t>User requested authorization to join <t.location.page_node.subject/></t></subject>
            <text_part>
                <t>Dear <t.name.name/>,</t>
 
                <t><t.name.visitor.name/> requested authorization to join the <t.location.page_node.subject/>:</t>
                <n.page_node.url/>
 
                * <t>Explanation from this user:</t>
                <n.explanation/>
 
                * <t>User email:</t>
                <n.visitor.user_email/>
 
                <t>To accept this request, you should add this user to at least one group that has access to this area:</t>
                <n.base_url/><n.visitor.change_user_groups_path/>
 
                <t>Or you can ignore this email if it is better to keep this user away from that area.</t>
                ________________________________________
                <t>Free Embeddable <t.app.page_node.view_name/></t> powered by Nabble
                <n.nabble_homepage/>
            </text_part>
            <html_part>
                <t>Dear <t.name.name/>,</t><br/>
                <br/>
                <t><t.name.visitor.name/> requested authorization to join the <t.location.page_node.subject/>:</t><br/>
                <a href="[n.page_node.url/]"><n.page_node.url/></a><br/>
                <br/>
                <b><t>Explanation from this user:</t></b><br/>
                <n.explanation/><br/>
                <br/>
                <b><t>User email:</t></b><br/>
                <n.visitor.user_email/><br/>
                <br/>
                <t>To accept this request, you should add this user to at least one group that has access to this area:</t>
                <div style="background-color:#FFFADB;border:#EDDD79 solid 1px;margin:1.2em 0;padding:.5em">
                    <a href="[n.base_url/][n.visitor.change_user_groups_path/]"><n.base_url/><n.visitor.change_user_groups_path/></a>
                </div>
                <t>Or you can ignore this email if it is better to keep this user away from that area.</t><br/>
                ________________________________________<br/>
                <t>Free Embeddable <t.app.page_node.view_name/></t> powered by Nabble<br/>
                <n.nabble_homepage/><br/><br/>
            </html_part>
        </n.send>
    </n.new_email.>
</override_macro>
Overrides default macro
... in unauthorized.naml
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
<macro name="send_request_email" parameters="explanation" requires="user,node_page" unindent="true">
    <n.new_email.>
        <n.send>
            <to><n.user_email/></to>
            <subject><t>User requested authorization to join <t.location.page_node.subject/></t></subject>
            <text_part>
                <t>Dear <t.name.name/>,</t>
 
                <t><t.name.visitor.name/> requested authorization to join the <t.location.page_node.subject/>:</t>
                <n.page_node.url/>
 
                * <t>Explanation from this user:</t>
                <n.explanation/>
 
                * <t>User email:</t>
                <n.visitor.user_email/>
 
                <t>To accept this request, you should add this user to at least one group that has access to this area:</t>
                <n.base_url/><n.visitor.change_user_groups_path/>
 
                <t>Or you can ignore this email if it is better to keep this user away from that area.</t>
                ________________________________________
                <t>Free Embeddable <t.app.page_node.view_name/></t> powered by Nabble
                <n.nabble_homepage/>
            </text_part>
            <html_part>
                <t>Dear <t.name.name/>,</t><br/>
                <br/>
                <t><t.name.visitor.name/> requested authorization to join the <t.location.page_node.subject/>:</t><br/>
                <a href="[n.page_node.url/]"><n.page_node.url/></a><br/>
                <br/>
                <b><t>Explanation from this user:</t></b><br/>
                <n.explanation/><br/>
                <br/>
                <b><t>User email:</t></b><br/>
                <n.visitor.user_email/><br/>
                <br/>
                <t>To accept this request, you should add this user to at least one group that has access to this area:</t>
                <div style="background-color:#FFFADB;border:#EDDD79 solid 1px;margin:1.2em 0;padding:.5em">
                    <n.base_url/><n.visitor.change_user_groups_path/>
                </div>
                <t>Or you can ignore this email if it is better to keep this user away from that area.</t><br/>
                ________________________________________<br/>
                <t>Free Embeddable <t.app.page_node.view_name/></t> powered by Nabble<br/>
                <n.nabble_homepage/><br/><br/>
            </html_part>
        </n.send>
    </n.new_email.>
</macro>