subscribers_read.naml
<override_macro name="manage_subscribers_controls" requires="node_page">
<n.horizontal_tab_control.>
<n.current_subscribers_horizontal_tab/>
<n.add_subscribers_horizontal_tab/>
<n.raw_subscriber_list_horizontal_tab/>
</n.horizontal_tab_control.>
</override_macro>
<macro name="raw_subscriber_list_horizontal_tab">
<n.add_horizontal_tab
url="[n.page_node.manage_subscribers_path filter='list'/]"
text="[t]Raw List[/t]"
selected="[n.is_subscriber_filter value='list'/]"
details="[n.page_node.raw_subscriber_list/]"
/>
</macro>
<macro name="raw_subscriber_list" requires="node">
<n.put_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 table_selector="table.subscriptions"/>
<div class="weak-color" style="float:left;margin:.5em 0">
<t>All subscribers are listed here</t>
</div>
<n.subscriptions. start="[n.subscriber_page_index_record/]" length="[n.subscriber_page_length/]">
<n.if.has_more_elements>
<then>
<table class="subscriptions">
<tr class="shaded-bg-color">
<th class="medium-border-color"><t>Email</t></th>
</tr>
<n.loop.>
<tr>
<td class="nowrap"><n.subscription.user.user_email/></td>
</tr>
</n.loop.>
</table>
</then>
</n.if.has_more_elements>
</n.subscriptions.>
</macro>