raw_subscriber_list

NAML documentation   Watch a video
   Usages of this macro
... in subscribers_read.naml
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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
<macro name="raw_subscriber_list" requires="node">
   
    <n.put_in_head
Binary
Namespace: HtmlNamespace
Parameters: in_head
.>
        <style type="text/css">
            table.subscriptions {
                border-collapse:collapse;
                margin-top:1em;
                clear:both;
                width:100%
            }
            table.subscriptions th {
                padding: .3em .6em;
                text-align:left;
                border-bottom-style:solid;
                border-bottom-width:2px;
            }
            table.subscriptions td {
                padding: .5em;
            }
        </style>
    </n.put_in_head.>
    <n.zebra_table_javascript
Macro
Parameters: table_selector
 table_selector="table.subscriptions"/>    
    <div class="weak-color" style="float:left;margin:.5em 0">
        <t>All subscribers are listed here</t>
    </div>
    <n.subscriptions
Binary
Namespace: NodeNamespace
Parameters: length, start, do
. start="[n.subscriber_page_index_record
Macro
Requires: servlet
/]" length="[n.subscriber_page_length
Macro
Requires: servlet
/]">
        <n.if
Binary
Namespace: BasicNamespace
Parameters: condition, else, then
.has_more_elements
Binary
Namespace: ListSequence
Parameters: n
>
            <then>
                <table class="subscriptions">
                    <tr class="shaded-bg-color">
                        <th class="medium-border-color"><t>Email</t></th>    
                    </tr>
                    <n.loop
Macro
Requires: sequence
Parameters: by, do
.>
                        <tr>
                            <td class="nowrap"><n.subscription
Binary
Namespace: SubscriptionList
Parameters: do
.user
Binary
Namespace: SubscriptionNamespace
Parameters: do
.user_email
Binary
Namespace: UserNamespace
/></td>
                        </tr>
                    </n.loop.>
                </table>
            </then>
        </n.if.has_more_elements>
    </n.subscriptions.>
 
 </macro>