preview

   Usages of this macro
... in edit_post.naml
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
<macro name="preview" requires="node">
    <div class="title-row light-border-color shaded-bg-color" style="margin-top:.5em"><t>Message Preview</t></div>
    <div class="light-border-color" style="padding-left:.7em;border-width:2px;border-style:solid">
        <div class="field-box" style="width:100%;border:none">
            <table style="border-collapse:collapse;margin-bottom:1em">
                <tr>
                    <td><n.owner
Binary
Namespace: NodeNamespace
Parameters: do
.avatar
Macro
Requires: user
Parameters: size, border_class, group
/></td>
                    <td>&nbsp;<a href="[n.owner
Binary
Namespace: NodeNamespace
Parameters: do
.url
Macro
Requires: user
Parameters: filter, index_record
/]"><n.owner
Binary
Namespace: NodeNamespace
Parameters: do
.name
Binary
Namespace: UserNamespace
Parameters: truncate
/></a> &ndash; </td>
                    <td><b><n.subject
Macro
Requires: node
/></b></td>
                    <td class="weak-color"><t>on <t.date.when_created
Binary
Namespace: NodeNamespace
Parameters: do
.long_format
Macro
Requires: date
/></t></td>
                </tr>
            </table>
            <n.message_text
Macro
Requires: node
/>
        </div>
    </div>
</macro>