Good catch!
ACK
----- Original Message -----
From: jprovazn(a)redhat.com
To: deltacloud-devel(a)lists.fedorahosted.org
Sent: Wednesday, July 28, 2010 4:51:55 PM GMT +01:00 Amsterdam / Berlin / Bern / Rome /
Stockholm / Vienna
Subject: [deltacloud-devel] [PATCH aggregator] Removed "Add a Provider Account"
link from Summary dashboard tab.
From: Jan Provaznik <jprovazn(a)redhat.com>
Referenced page raises exception because of missing provider_id and we don't know
provider on summary page. Provider account creation is still accessible from
provider page.
---
src/app/views/dashboard/summary.haml | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
diff --git a/src/app/views/dashboard/summary.haml b/src/app/views/dashboard/summary.haml
index f3a21d3..ff116d4 100644
--- a/src/app/views/dashboard/summary.haml
+++ b/src/app/views/dashboard/summary.haml
@@ -31,8 +31,6 @@
%h2
Actions
- if @is_admin
- %a{:href => url_for(:controller => "cloud_accounts", :action =>
"new")}
- Add a Provider Account
%a{:href => url_for(:controller => "provider", :action =>
"new")}
Add a Provider
%a{:href => url_for(:controller => "users", :action =>
"new")}
--
1.7.0.1
_______________________________________________
deltacloud-devel mailing list
deltacloud-devel(a)lists.fedorahosted.org
https://fedorahosted.org/mailman/listinfo/deltacloud-devel