mirror of
https://github.com/ansible/awx.git
synced 2026-02-20 12:40:06 -03:30
Rename credential tooltip component string
- For better legibility
This commit is contained in:
@@ -58,7 +58,7 @@ function ComponentsStrings (BaseString) {
|
||||
};
|
||||
|
||||
ns.tooltips = {
|
||||
CREDENTIAL: t.s('View the Credential'),
|
||||
VIEW_THE_CREDENTIAL: t.s('View the Credential'),
|
||||
};
|
||||
|
||||
ns.layout = {
|
||||
|
||||
@@ -2,12 +2,12 @@ function TagService (strings, $filter) {
|
||||
this.buildCredentialTag = (credential) => {
|
||||
const icon = `${credential.kind}`;
|
||||
const link = `/#/credentials/${credential.id}`;
|
||||
const tooltip = strings.get('tooltips.CREDENTIAL');
|
||||
const tooltip = strings.get('tooltips.VIEW_THE_CREDENTIAL');
|
||||
const value = $filter('sanitize')(credential.name);
|
||||
|
||||
return { icon, link, tooltip, value };
|
||||
};
|
||||
this.buildTag = tag => {
|
||||
this.buildTag = (tag) => {
|
||||
const value = $filter('sanitize')(tag);
|
||||
|
||||
return { value };
|
||||
|
||||
Reference in New Issue
Block a user