inactive_node_deletion_ui

NAML documentation   Watch a video
   Usages of this macro
... in app.naml
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
<macro name="inactive_node_deletion_ui" requires="node_page">
    <n.if
Binary
Namespace: BasicNamespace
Parameters: condition, else, then
.page_node_is_scheduled_for_deletion
Macro
Requires: node_page
>
        <then>
            <script type="text/javascript">
                function clearDeleteDate() {
                    $.getScript('/forum/ClearDeleteDate.jtp');
                }
            </script>
            <div id="inactive-delete" class="app-notice info-message">
                <div class="big-title second-font">This <n.page_node
Binary
Namespace: NodePageNamespace
Parameters: do
.lower_case_view_name
Macro
Requires: node
/> will be deleted soon!</div>
                Nabble has scheduled this <n.page_node
Binary
Namespace: NodePageNamespace
Parameters: do
.lower_case_view_name
Macro
Requires: node
/> to be deleted on
                <script type="text/javascript">document.write(Nabble.formatDateLong(new Date(<n.site_delete_date
Binary
Namespace: NabbleNamespace
Parameters: do
.raw_time
Binary
Namespace: DateNamespace
/>)))</script>
                due to its inactivity.<br/>
                Click on the button below if you want to save this <n.page_node
Binary
Namespace: NodePageNamespace
Parameters: do
.lower_case_view_name
Macro
Requires: node
/> from deletion.<br/>
                <input type="button" value="Don't delete this [n.page_node
Binary
Namespace: NodePageNamespace
Parameters: do
.lower_case_view_name
Macro
Requires: node
/]" onclick="clearDeleteDate()" style="margin:.5em 1em 0"></input>
            </div>
        </then>
    </n.if.page_node_is_scheduled_for_deletion>
</macro>