diff --git a/offboarding/templates/cbv/exit_process/detail_page_description.html b/offboarding/templates/cbv/exit_process/detail_page_description.html new file mode 100644 index 000000000..1f9302ab4 --- /dev/null +++ b/offboarding/templates/cbv/exit_process/detail_page_description.html @@ -0,0 +1,9 @@ +{% load i18n %} +
+ + {% trans "Description" %} + +
+ {{ instance.description|default:"-"|safe }} +
+
\ No newline at end of file diff --git a/offboarding/templates/cbv/resignation/actions.html b/offboarding/templates/cbv/resignation/actions.html index 56f844c68..b4389f8bb 100644 --- a/offboarding/templates/cbv/resignation/actions.html +++ b/offboarding/templates/cbv/resignation/actions.html @@ -2,46 +2,66 @@
{% if perms.offboarding.change_resignationletter %} -
- {% if instance.status != "approved" %} - - {% else %} - - {% endif %} - +
+ {% if instance.status != "approved" %} + + {% else %} + + {% endif %} + {% if instance.status == 'rejected' %} + + {% else %} + + {% endif %} +
-
{% endif %}