From 2760abd8230f30c01edfa305245e43ef8a63b0c5 Mon Sep 17 00:00:00 2001 From: Milan Zazrivec Date: Tue, 12 Jun 2018 16:40:13 +0200 Subject: [PATCH] Add display name for Credential (RHV) --- .../embedded_ansible/automation_manager/rhv_credential.rb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/models/manageiq/providers/embedded_ansible/automation_manager/rhv_credential.rb b/app/models/manageiq/providers/embedded_ansible/automation_manager/rhv_credential.rb index 6e9f820c890..840a6de1098 100644 --- a/app/models/manageiq/providers/embedded_ansible/automation_manager/rhv_credential.rb +++ b/app/models/manageiq/providers/embedded_ansible/automation_manager/rhv_credential.rb @@ -1,3 +1,7 @@ class ManageIQ::Providers::EmbeddedAnsible::AutomationManager::RhvCredential < ManageIQ::Providers::EmbeddedAnsible::AutomationManager::CloudCredential include ManageIQ::Providers::AnsibleTower::Shared::AutomationManager::RhvCredential + + def self.display_name(number = 1) + n_('Credential (RHV)', 'Credentials (RHV)', number) + end end