From 7c74cb59c6303e715779e5867020aa953592a6af Mon Sep 17 00:00:00 2001 From: Samuel Padgett Date: Mon, 18 Sep 2017 20:30:30 -0400 Subject: [PATCH] Show consistent status messages for deleted instances and bindings Use consistent text and icons for service instances and bindings that are marked for deletion, both on the overview and service instance page. --- app/views/browse/service-instance.html | 6 ++++++ app/views/directives/_service-binding.html | 6 +++++- app/views/overview/_service-instance-row.html | 7 ++++--- dist/scripts/templates.js | 19 +++++++++++++++---- 4 files changed, 30 insertions(+), 8 deletions(-) diff --git a/app/views/browse/service-instance.html b/app/views/browse/service-instance.html index 3021a00b6d..efe516d083 100644 --- a/app/views/browse/service-instance.html +++ b/app/views/browse/service-instance.html @@ -39,6 +39,12 @@

+
+ + warning + The service was marked for deletion + . +
Details diff --git a/app/views/directives/_service-binding.html b/app/views/directives/_service-binding.html index ba05118684..4391c15a0d 100644 --- a/app/views/directives/_service-binding.html +++ b/app/views/directives/_service-binding.html @@ -17,7 +17,11 @@

created

-
+
+ + Marked for Deletion +
+
Pending
diff --git a/app/views/overview/_service-instance-row.html b/app/views/overview/_service-instance-row.html index 769c1d0bbc..ed6b1aacc9 100644 --- a/app/views/overview/_service-instance-row.html +++ b/app/views/overview/_service-instance-row.html @@ -24,7 +24,7 @@

- Marked for Deletion + Marked for Deletion @@ -102,7 +102,7 @@

warning The service was marked for deletion - + .

@@ -162,7 +162,8 @@

- Deleting + + Marked for Deletion Pending diff --git a/dist/scripts/templates.js b/dist/scripts/templates.js index 49c7535f87..e1f142dd57 100644 --- a/dist/scripts/templates.js +++ b/dist/scripts/templates.js @@ -3712,6 +3712,12 @@ angular.module('openshiftConsoleTemplates', []).run(['$templateCache', function( "
\n" + "
\n" + "
\n" + + "
\n" + + "\n" + + "warning\n" + + "The service was marked for deletion\n" + + ".\n" + + "
\n" + "\n" + "\n" + "Details\n" + @@ -5610,7 +5616,11 @@ angular.module('openshiftConsoleTemplates', []).run(['$templateCache', function( "created \n" + "

\n" + "\n" + - "
\n" + + "
\n" + + "\n" + + "Marked for Deletion\n" + + "
\n" + + "
\n" + "Pending\n" + "
\n" + "
\n" + @@ -12283,7 +12293,7 @@ angular.module('openshiftConsoleTemplates', []).run(['$templateCache', function( "\n" + "\n" + "\n" + - "Marked for Deletion\n" + + "Marked for Deletion\n" + "\n" + "\n" + "\n" + @@ -12352,7 +12362,7 @@ angular.module('openshiftConsoleTemplates', []).run(['$templateCache', function( "\n" + "warning\n" + "The service was marked for deletion\n" + - "\n" + + ".\n" + "\n" + "\n" + "\n" + @@ -12411,7 +12421,8 @@ angular.module('openshiftConsoleTemplates', []).run(['$templateCache', function( "\n" + "
\n" + "\n" + - " Deleting\n" + + "\n" + + "Marked for Deletion\n" + "\n" + "\n" + " Pending\n" +