0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-11-30 01:46:24 +01:00

Fix privacy dialog toggle color in status side panel

This commit is contained in:
Sage Abdullah 2022-07-25 22:50:53 +07:00 committed by LB (Ben Johnston)
parent 2961c90ae1
commit d87d53fca8

View File

@ -32,7 +32,7 @@
{% page_permissions page as page_perms %}
{% if page.id and page_perms.can_set_view_restrictions %}
{% trans 'Change privacy' as set_privacy_title %}
{% dialog_toggle class_name='w-bg-transparent w-text-14 w-p-0 w-text-teal-200 hover:w-text-teal-600 w-inline-flex w-justify-center w-transition' dialog_id='set-privacy' text=set_privacy_title %}
{% dialog_toggle class_name='w-bg-transparent w-text-14 w-p-0 w-text-secondary hover:w-text-secondary-600 w-inline-flex w-justify-center w-transition' dialog_id='set-privacy' text=set_privacy_title %}
{% else %}
{# Empty actions block because of lack of permissions #}
{% endif %}