seitime-frappe/frappe/www/confirm_workflow_action.html
Suraj Shetty 9a7dc7b4e5 Workflow action ui ux fixes (#5926)
* Allow cancel for doctype with workflow

* Fix child row deletion in workflows

-https://github.com/frappe/erpnext/issues/14731

* Add get_pdf_link method

* Refactor workflow action response

- Confirm before applying action

* Fix bug with confirmation page for workflow action

* Fix codacy

* Add cancel button and pdf link

* Fix Codacy

Remove trailing whitespace
2018-08-07 14:43:20 +05:30

16 lines
No EOL
570 B
HTML

{% extends "frappe/www/message.html" %}
{% block message_body %}
<p>
{{ _("Please confirm your action to {0} this document.".format(action)) }}
</p>
{% if alert_doc_change %}
<p>
<b>{{ _("Note:")}}</b> {{ _("This document has been modified after the email was sent.")}}
</p>
{% endif %}
<p>
<a target="_blank" class="underline" href="{{ pdf_link }}">{{ _('View document') }}</a>
</p>
<a href="{{ action_link }}" class="btn btn-primary btn-action">{{ action }}</a>
<a href="/" class="btn btn-secondary btn-action">Cancel</a>
{% endblock %}