diff --git a/iogt/templates/wagtailadmin/pages/listing/_buttons.html b/iogt/templates/wagtailadmin/pages/listing/_buttons.html new file mode 100644 index 000000000..78c50b860 --- /dev/null +++ b/iogt/templates/wagtailadmin/pages/listing/_buttons.html @@ -0,0 +1,7 @@ +{% for button in buttons %} + {% with page.get_type as page_type %} + {% if button.show and page_type != 'poll' and page_type != 'quiz' and page_type != 'survey' or button.label != 'View draft' %} +