handle_empty_newspaper

   Usages of this macro
... in view_news.naml
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
<macro name="handle_empty_newspaper" requires="node_list,node_page">
    <n.if
Binary
Namespace: BasicNamespace
Parameters: condition, else, then
.not
Binary
Namespace: BasicNamespace
Parameters: condition
.has_more_elements
Binary
Namespace: ListSequence
Parameters: n
>
        <then>
            <div class="light-border-color" style="border-width:2px;border-style:solid;padding:1.5em .5em">
                <n.page_node
Binary
Namespace: NodePageNamespace
Parameters: do
.>
                    <n.new_topic_link
Macro
Requires: node
Parameters: href, text, title, class
>
                        <text>
                            <div class="second-font weak-color" style="font-size:150%;font-weight:bold;margin-bottom:.5em">
                                <t>Write Your First Headline</t>
                            </div>
                            <t>Click here to make your first post</t>
                        </text>
                    </n.new_topic_link>
                </n.page_node.>
            </div>
        </then>
    </n.if.not.has_more_elements>
</macro>