cell_thumbnail

NAML documentation   Watch a video
   Usages of this macro
... in view_gallery.naml
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
<macro name="cell_thumbnail">
    <n.if
Binary
Namespace: BasicNamespace
Parameters: condition, else, then
.is_pinned_in_loop
Macro
Requires: node, node_list
>
        <then>
            <div class="pinned-box"></div>
        </then>
    </n.if.is_pinned_in_loop>
    <n.if
Binary
Namespace: BasicNamespace
Parameters: condition, else, then
.has_thumbnail
Binary
Namespace: NodeNamespace
>
        <then.thumbnail_box
Macro
/>
        <else>
            <span class="weak-color box-text adbayes-content">
                <n.message
Binary
Namespace: NodeNamespace
Parameters: do
.truncated
Macro
Requires: message
Parameters: size
 size="100"/>
            </span>
        </else>
    </n.if.has_thumbnail>
</macro>