From: Jozef Zigmund <jzigmund(a)redhat.com>
---
.../provider_accounts/_provider_form.html.haml | 2 +-
.../_provider_selection.html.haml | 6 +++++-
src/config/locales/en.yml | 1 +
3 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/src/app/views/provider_accounts/_provider_form.html.haml
b/src/app/views/provider_accounts/_provider_form.html.haml
index 9c6b1f3..b5c0545 100644
--- a/src/app/views/provider_accounts/_provider_form.html.haml
+++ b/src/app/views/provider_accounts/_provider_form.html.haml
@@ -1,6 +1,6 @@
%fieldset
%p
- = label :provider_account, t('provider_accounts.index.provider_name')
+ = label :provider_account,
t('provider_accounts.index.provider_account_name')
= text_field :provider_account, :label, :class => 'em long'
- CredentialDefinition::CREDENTIAL_DEFINITIONS_ORDER.each do |cred_order|
- @provider_account.all_credentials((a)provider).each do |cred|
diff --git a/src/app/views/provider_accounts/_provider_selection.html.haml
b/src/app/views/provider_accounts/_provider_selection.html.haml
index 9650c77..36236cb 100644
--- a/src/app/views/provider_accounts/_provider_selection.html.haml
+++ b/src/app/views/provider_accounts/_provider_selection.html.haml
@@ -1,6 +1,10 @@
%fieldset#provider_type
%p
- = label_tag t('provider_accounts.provider_selection.cloud_type')
+ = label_tag :provider_name, t(".provider_name")
+ = @provider.name
+ .clear
+ %p
+ = label_tag t('.cloud_type')
= @provider.provider_type.name
.clear
- unless @provider.provider_type.deltacloud_driver.nil?
diff --git a/src/config/locales/en.yml b/src/config/locales/en.yml
index 68cdcd4..27b6bbb 100644
--- a/src/config/locales/en.yml
+++ b/src/config/locales/en.yml
@@ -860,6 +860,7 @@ en:
sure_to_delete: "Are you sure you want to delete this config server?"
provider_selection:
cloud_type: "Cloud type: "
+ provider_name: "Provider Name: "
rhevm:
login_form: "Login form for RHEV-M (not implemented yet)"
flash:
--
1.7.6.4