digest_html

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 "digest_html".
... in digest_html.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
<override_macro name="digest_html" requires="subscription,node_list" unindent="true">
    <n.set_local_subscription.this_subscription/>
    <h2><t>Digest Email</t></h2>
    <h3><n.local_subscription.node.subject/></h3>
    <div style="color:#666666;font-weight:bold">
        <n.digest_post_count/>
    </div>
 
    <n.reset_list_index/>
       <n.loop.>
        <p>
           <n.comment.>Reduced font size, increased chars to 500 and indented</n.comment.>
            <div style="font-size:100%">
              <a href="[n.current_node.url/]"><n.current_node.digest_subject/></a>
           </div>
                <div style="font-size:80%; padding-left:25px">
                    <n.trim.truncate. size="500">
                     <n.compress.current_node.message.as_text/>
                </n.trim.truncate.>
           </div>
           <div style="color:#666666; padding-left:25px; font: 11px tahoma,geneva,helvetica,arial,sans-serif;">
              <t>by <t.author><b><n.current_node.owner.name/></b></t.author></t>
              <t>on <t.date.current_node.when_created.custom_format format="yyyy-MM-dd"/></t>
              <t>in <t.location><i><n.current_node.get_app_node.subject/></i></t.location></t>
           </div>
        </p>
    <br/>
    </n.loop.> 
 
    <br/>
    <br/>
    <n.unsubscribe_line format="html"/>
 
    <hr noshade="noshade" size="1" color="#cccccc" />
    <div style="color:#666666; font: 11px tahoma,geneva,helvetica,arial,sans-serif;line-height:1.5em">
        <t>DO NOT REPLY TO THIS EMAIL</t><br/>
        <br/>
        <t>Replies sent to this address are not read or processed.</t>
        <t>If you want to respond to a post for which you received this email,
        please go to the website: <t.url.local_subscription.node.url/></t>
        <br/>
        <n.macro_viewer_email_link macro="digest_html"/>
    </div>
</override_macro>
Overrides default macro
... in email.naml
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
<macro name="digest_html" requires="subscription,node_list" unindent="true">
    <n.set_local_subscription.this_subscription/>
    <h2><t>Digest Email</t></h2>
    <h3><n.local_subscription.node.subject/></h3>
    <div style="color:#666666;font-weight:bold">
        <n.digest_post_count/>
    </div>
 
    <n.reset_list_index/>
    <n.loop.>
        <p>
            <div style="font-size:120%">
                <a href="[n.current_node.url/]"><n.current_node.digest_subject/></a>
            </div>
            <n.trim.truncate. size="200">
                <n.compress.current_node.message.as_text/>
            </n.trim.truncate.>
            <div style="color:#666666; font: 11px tahoma,geneva,helvetica,arial,sans-serif;">
                <t>by <t.author><b><n.current_node.owner.name/></b></t.author></t>
                <t>on <t.date.current_node.when_created.custom_format format="yyyy-MM-dd"/></t>
                <t>in <t.location><i><n.current_node.get_app_node.subject/></i></t.location></t>
            </div>
        </p>
    </n.loop.>
 
    <br/>
    <br/>
    <n.unsubscribe_line format="html"/>
 
    <hr noshade="noshade" size="1" color="#cccccc" />
    <div style="color:#666666; font: 11px tahoma,geneva,helvetica,arial,sans-serif;line-height:1.5em">
        <t>DO NOT REPLY TO THIS EMAIL</t><br/>
        <br/>
        <t>Replies sent to this address are not read or processed.</t>
        <t>If you want to respond to a post for which you received this email,
        please go to the website: <t.url.local_subscription.node.url/></t>
        <br/>
        <n.macro_viewer_email_link macro="digest_html"/>
    </div>
</macro>