From dddab6005895a70c90d99b63f7e70abc3c8d57e4 Mon Sep 17 00:00:00 2001 From: Joseph Schorr Date: Thu, 9 Apr 2015 16:25:10 -0400 Subject: [PATCH] Better empty messages on billing, prototype and application managers. Also properly handles the 404 for the invoices manager. --- static/directives/application-manager.html | 10 +++++++++- static/directives/billing-invoices.html | 11 +++++++---- static/directives/prototype-manager.html | 9 ++++++++- static/js/directives/ui/billing-invoices.js | 3 +++ 4 files changed, 27 insertions(+), 6 deletions(-) diff --git a/static/directives/application-manager.html b/static/directives/application-manager.html index fa6eacb85..57c8a111d 100644 --- a/static/directives/application-manager.html +++ b/static/directives/application-manager.html @@ -15,7 +15,15 @@ The OAuth Applications panel allows organizations to define custom OAuth applications that can be used by internal or external customers to access data on behalf of the customers. More information about the API can be found by contacting support. - +
+
No OAuth applications defined.
+
+ Click the "Create New Application" button above to create a new OAuth application under + this organization. +
+
+ +
diff --git a/static/directives/billing-invoices.html b/static/directives/billing-invoices.html index e4cf9cfe1..802abc358 100644 --- a/static/directives/billing-invoices.html +++ b/static/directives/billing-invoices.html @@ -1,11 +1,14 @@
-
- No invoices have been created -
+
+
No billing invoices found.
+
+ This account has not been billed by . +
+
-
+
Application Name Application URI
diff --git a/static/directives/prototype-manager.html b/static/directives/prototype-manager.html index 639285224..7eebba032 100644 --- a/static/directives/prototype-manager.html +++ b/static/directives/prototype-manager.html @@ -19,7 +19,14 @@ existing repositories. -
Billing Date/Time
+
+
No default permissions defined.
+
+ Click the "Create Default Permission" button above to create a new default permission. +
+
+ +