... | 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/>
<script type="text/javascript">
$(document).ready(function() {
if (Nabble.appnotice) {
$('#creation-ad').slideDown();
Nabble.setVar('appnotice',null);
}
});
</script>
<n.if.should_show_creation_notice>
<then>
<div id="creation-ad" class="app-notice light-border-color info-message" style="display:none">
<n.congratulations_notice/>
</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.lower_case_view_name/>';
}
</script>
</then>
</n.if.should_show_creation_notice>
</macro>
|