app_hardcoded_notices

NAML documentation   Watch a video
   Usages of this macro
... in app.naml
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
<macro name="app_hardcoded_notices" requires="node_page,servlet">
    <n.inactive_node_deletion_ui
Macro
Requires: node_page
/>
 
    <script type="text/javascript">
        $(document).ready(function() {
            if (Nabble.appnotice) {
                $('#creation-ad').slideDown();
                Nabble.setVar('appnotice',null);
            }
        });
    </script>
 
    <n.if
Binary
Namespace: BasicNamespace
Parameters: condition, else, then
.should_show_creation_notice
Binary
Namespace: NodePageNamespace
>
        <then>
            <div id="creation-ad" class="app-notice light-border-color info-message" style="display:none">
                <n.congratulations_notice
Macro
/>
            </div>
            <script type="text/javascript">
                /* Fix for widget creation (weebly)  */
                if (Nabble.getParent().nabbleinfo && !Nabble.getParent().nabbleinfo.what) {
                    Nabble.getParent().nabbleinfo.what = '<n.page_node
Binary
Namespace: NodePageNamespace
Parameters: do
.lower_case_view_name
Macro
Requires: node
/>';
                }
            </script>
        </then>
    </n.if.should_show_creation_notice>
</macro>