You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nifi.apache.org by pv...@apache.org on 2016/11/08 13:58:33 UTC

nifi git commit: NIFI-2989: - Updating the content of the delete policy dialog to make it a little more clear that the permissions for the component will revert back to the inherit policy.

Repository: nifi
Updated Branches:
  refs/heads/master aa8ba0bd1 -> 9d3fe3f03


NIFI-2989:
- Updating the content of the delete policy dialog to make it a little more clear that the permissions for the component will revert back to the inherit policy.

This closes #1183.


Project: http://git-wip-us.apache.org/repos/asf/nifi/repo
Commit: http://git-wip-us.apache.org/repos/asf/nifi/commit/9d3fe3f0
Tree: http://git-wip-us.apache.org/repos/asf/nifi/tree/9d3fe3f0
Diff: http://git-wip-us.apache.org/repos/asf/nifi/diff/9d3fe3f0

Branch: refs/heads/master
Commit: 9d3fe3f03ee5d4c565638c4c8ccb7d03f5305165
Parents: aa8ba0b
Author: Matt Gilman <ma...@gmail.com>
Authored: Fri Nov 4 10:21:52 2016 -0400
Committer: Pierre Villard <pi...@gmail.com>
Committed: Tue Nov 8 14:58:11 2016 +0100

----------------------------------------------------------------------
 .../src/main/webapp/js/nf/canvas/nf-policy-management.js     | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/nifi/blob/9d3fe3f0/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/nf-policy-management.js
----------------------------------------------------------------------
diff --git a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/nf-policy-management.js b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/nf-policy-management.js
index 208c760..6aff49d 100644
--- a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/nf-policy-management.js
+++ b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-ui/src/main/webapp/js/nf/canvas/nf-policy-management.js
@@ -667,8 +667,10 @@ nf.PolicyManagement = (function () {
      */
     var promptToDeletePolicy = function () {
         nf.Dialog.showYesNoDialog({
-            headerText: 'Update Policy',
-            dialogContent: 'Are you sure you want to delete this policy?',
+            headerText: 'Delete Policy',
+            dialogContent: 'By deleting this policy, the permissions for this component will revert to the inherited policy.',
+            yesText: 'Delete',
+            noText: 'Cancel',
             yesHandler: function () {
                 deletePolicy();
             }
@@ -695,7 +697,7 @@ nf.PolicyManagement = (function () {
             });
         } else {
             nf.Dialog.showOkDialog({
-                headerText: 'Update Policy',
+                headerText: 'Delete Policy',
                 dialogContent: 'No policy selected'
             });
         }