Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unload prompt #57

Merged
merged 1 commit into from
Sep 15, 2015
Merged

Unload prompt #57

merged 1 commit into from
Sep 15, 2015

Conversation

teneightfive
Copy link
Contributor

User story #103089538

As a monies clerk I want to be warned if I leave the batch screen and I have ticked some transactions so I submit my credited transactions.

[finishes #103089538]

@@ -4,7 +4,7 @@
{% block template_type %}v-batch{% endblock %}

{% block content %}
<form method="post" action="">
<form method="post" action="" class="js-BeforeUnload" data-unload-msg="{% trans 'You are about to lose your ticked payments. If you have credited NOMIS with the selected prisoner payments, you must submit them.' %}">
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we break this over multiple lines?

This prompts the user to complete their action before navigating away from the
batch processing page when they have rows that are checked.
marcofucci added a commit that referenced this pull request Sep 15, 2015
@marcofucci marcofucci merged commit 4327b5f into master Sep 15, 2015
@marcofucci marcofucci deleted the unload-prompt branch September 15, 2015 09:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants