... | in html5.naml |
115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153
|
<override_macro name="last_post_column" parameters="title,width,white_space">
<n.table_column Macro Parameters:
head, body
♦ ♦
<head>
<td class="[n.column_default_border Macro ♦ ♦ Macro Parameters:
width
♦ ♦
<n.default Binary Namespace: BasicNamespace
Parameters:
to, text
♦ ♦
</td>
</head>
<body>
<n.current_node Binary Namespace: NodeList
Parameters:
do
♦ ♦
<td class="[n.column_default_border Macro ♦ ♦
<n.if Binary Namespace: BasicNamespace
Parameters:
condition, else, then
♦ ♦ Binary Namespace: BasicNamespace
Parameters:
condition1, condition2
♦ ♦ Binary Namespace: NodeNamespace
♦ ♦ Binary Namespace: NodeNamespace
Parameters:
filter
♦ ♦
<then>
<n.last_node Binary Namespace: NodeNamespace
Parameters:
do
♦ ♦
<table class="avatar-table">
<tr>
<n.last_post_column_start Macro ♦ ♦
<td class="column" style="width:100%;padding:0;border:none;[n.style Binary Namespace: HtmlNamespace
Parameters:
property, value
♦ ♦
<n.smart_post_link Macro Requires: node
Parameters:
text, href, title, class
♦ ♦ Macro Requires: node
Parameters:
template, date, index_record
♦ ♦
<text.when_created Binary Namespace: NodeNamespace
Parameters:
do
♦ ♦ Macro Requires: date
♦ ♦
</n.smart_post_link.url>
<span class="weak-color column nowrap" style="padding-left:.2em">
<t>by <t.author.owner Binary Namespace: NodeNamespace
Parameters:
do
♦ ♦ Binary Namespace: UserNamespace
Parameters:
truncate
♦ ♦
</span>
</td>
</tr>
</table>
</n.last_node.>
</then>
<else>
<span style="padding-left:.4em">
<t>Empty</t>
</span>
</else>
</n.if.either>
</td>
</n.current_node.>
</body>
</n.table_column>
</override_macro>
|
... | in responsive.naml |
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
|
<override_macro name="last_post_column" parameters="title,width,white_space">
<n.table_column>
<head>
<td class="[n.column_default_border/] nowrap last-post-column" style="[n.width_style.width/]">
<n.default. to="[t]Last Post[/t]"><n.title/></n.default.>
</td>
</head>
<body>
<n.current_node.>
<td class="[n.column_default_border/] weak-color">
<n.if.either condition1="[n.is_post/]" condition2="[n.has_topics/]">
<then>
<n.last_node.>
<table class="avatar-table">
<tr>
<n.last_post_column_start/>
<td class="column" style="width:100%;padding:0;border:none;[n.style. property='white-space'][n.white_space/][/n.style.]">
<n.smart_post_link>
<text.when_created.short_format/>
</n.smart_post_link>
<span class="weak-color column nowrap" style="padding-left:.2em">
<t>by <t.author.owner.name truncate="20"/></t>
</span>
</td>
</tr>
</table>
</n.last_node.>
</then>
<else>
<span style="padding-left:.4em">
<t>Empty</t>
</span>
</else>
</n.if.either>
</td>
</n.current_node.>
</body>
</n.table_column>
</override_macro>
|
... | in columns.naml |
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
|
<macro name="last_post_column" parameters="title,width,white_space">
<n.table_column>
<head>
<td class="[n.column_default_border/] nowrap last-post-column" style="[n.width_style.width/]">
<n.default. to="[t]Last Post[/t]"><n.title/></n.default.>
</td>
</head>
<body>
<n.current_node.>
<td class="[n.column_default_border/] weak-color">
<n.if.either condition1="[n.is_post/]" condition2="[n.has_topics/]">
<then>
<n.last_node.>
<table class="avatar-table">
<tr>
<n.last_post_column_start/>
<td style="width:100%;padding:0 .3em;border:none;[n.style. property='white-space'][n.white_space/][/n.style.]">
<n.smart_post_link>
<text.when_created.short_format/>
</n.smart_post_link>
<span class="weak-color nowrap" style="padding-left:.2em">
<t>by <t.author.owner.name truncate="20"/></t>
</span>
</td>
</tr>
</table>
</n.last_node.>
</then>
<else>
<span style="padding-left:.4em">
<t>Empty</t>
</span>
</else>
</n.if.either>
</td>
</n.current_node.>
</body>
</n.table_column>
</macro>
|
Free forum by Nabble | Edit this page |