classic_row_with_small_avatar

NAML documentation   Watch a video
   Usages of this macro
... in classic_row_with_small_avatar.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
<override_macro name="classic_row_with_small_avatar" requires="node, node_list">
    <div class="classic-row">
        <div class="classic-header">
            <div class="classic-bar shaded-bg-color rounded-top">
                <table class="classic-author-name">
                    <tr>
                        <td class="avatar"><n.owner
Binary
Namespace: NodeNamespace
Parameters: do
.avatar
Macro
Requires: user
Parameters: size, border_class, group
 border_class="medium-border-color"/></td>
                        <td class="bold nowrap"><n.owner
Binary
Namespace: NodeNamespace
Parameters: do
.user_link
Macro
Requires: user
Parameters: title, class
 class="owner-link"/></td>
                    </tr>
                </table>
                <div class="classic-right-menu shaded-bg-color weak-color">
                    <n.reply_link
Macro
Requires: node
Parameters: href, title
/> |
                    <n.threaded_link
Macro
Requires: node
/>
                    <n.post_dropdown
Macro
Requires: node
/>
                    &nbsp;
                    <n.report_flag
Macro
Requires: node
/>
                </div>
                <div class="classic-subject-line">
                    <n.classic_post_date
Macro
Requires: node
/>
                    <n.classic_subject_line
Macro
Requires: node
/>
                </div>
            </div>
        </div>
        <table class="classic-body">
            <tr>
                <td class="classic-author shaded-bg-color rounded-bottom">
                    <n.red_arrow_icon
Macro
Requires: node
/>
                </td>
                <td class="classic-message">
                    <n.classic_message_cell
Macro
Requires: node
/>
                </td>
            </tr>
        </table>
    </div>
</override_macro>
Overrides default macro
... in topic.naml
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
<macro name="classic_row_with_small_avatar" requires="node, node_list">
    <div class="classic-row">
        <div class="classic-header">
            <div class="classic-bar shaded-bg-color rounded-top">
                <table class="classic-author-name">
                    <tr>
                        <td class="avatar"><n.owner.avatar border_class="medium-border-color"/></td>
                        <td class="bold nowrap"><n.owner.user_link class="owner-link"/></td>
                    </tr>
                </table>
                <div class="classic-right-menu shaded-bg-color weak-color">
                    <n.reply_link/> |
                    <n.threaded_link/> |
                    <n.post_dropdown/>
                </div>
                <div class="classic-subject-line">
                    <n.classic_post_date/>
                    <n.classic_subject_line/>
                </div>
            </div>
        </div>
        <table class="classic-body">
            <tr>
                <td class="classic-author shaded-bg-color rounded-bottom">
                    <n.red_arrow_icon/>
                </td>
                <td class="classic-message">
                    <n.classic_message_cell/>
                </td>
            </tr>
        </table>
    </div>
</macro>