mirror of
https://github.com/ansible/awx.git
synced 2026-05-09 10:27:37 -02:30
Supplied missing labels and button tool-tips on related sets.
This commit is contained in:
@@ -67,7 +67,9 @@ angular.module('TeamFormDefinition', [])
|
|||||||
actions: {
|
actions: {
|
||||||
add: {
|
add: {
|
||||||
ngClick: "add('users')",
|
ngClick: "add('users')",
|
||||||
icon: 'icon-plus'
|
icon: 'icon-plus',
|
||||||
|
label: 'Add',
|
||||||
|
awToolTip: 'Add a user'
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
@@ -89,13 +91,15 @@ angular.module('TeamFormDefinition', [])
|
|||||||
label: 'Edit',
|
label: 'Edit',
|
||||||
ngClick: "edit('users', \{\{ user.id \}\}, '\{\{ user.username \}\}')",
|
ngClick: "edit('users', \{\{ user.id \}\}, '\{\{ user.username \}\}')",
|
||||||
icon: 'icon-edit',
|
icon: 'icon-edit',
|
||||||
class: 'btn-success'
|
class: 'btn-success',
|
||||||
|
awToolTip: 'Edit user'
|
||||||
},
|
},
|
||||||
delete: {
|
delete: {
|
||||||
label: 'Delete',
|
label: 'Delete',
|
||||||
ngClick: "delete('users', \{\{ user.id \}\}, '\{\{ user.username \}\}', 'users')",
|
ngClick: "delete('users', \{\{ user.id \}\}, '\{\{ user.username \}\}', 'users')",
|
||||||
icon: 'icon-remove',
|
icon: 'icon-remove',
|
||||||
class: 'btn-danger'
|
class: 'btn-danger',
|
||||||
|
awToolTip: 'Remove user'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -109,7 +113,9 @@ angular.module('TeamFormDefinition', [])
|
|||||||
actions: {
|
actions: {
|
||||||
add: {
|
add: {
|
||||||
ngClick: "add('credentials')",
|
ngClick: "add('credentials')",
|
||||||
icon: 'icon-plus'
|
icon: 'icon-plus',
|
||||||
|
label: 'Add',
|
||||||
|
add: 'Add a new credential'
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
@@ -128,13 +134,15 @@ angular.module('TeamFormDefinition', [])
|
|||||||
label: 'Edit',
|
label: 'Edit',
|
||||||
ngClick: "edit('credentials', \{\{ credential.id \}\}, '\{\{ credential.name \}\}')",
|
ngClick: "edit('credentials', \{\{ credential.id \}\}, '\{\{ credential.name \}\}')",
|
||||||
icon: 'icon-edit',
|
icon: 'icon-edit',
|
||||||
class: 'btn-success'
|
class: 'btn-success',
|
||||||
|
awToolTip: 'Modify the credential'
|
||||||
},
|
},
|
||||||
delete: {
|
delete: {
|
||||||
label: 'Delete',
|
label: 'Delete',
|
||||||
ngClick: "delete('credentials', \{\{ credential.id \}\}, '\{\{ credential.name \}\}', 'credentials')",
|
ngClick: "delete('credentials', \{\{ credential.id \}\}, '\{\{ credential.name \}\}', 'credentials')",
|
||||||
icon: 'icon-remove',
|
icon: 'icon-remove',
|
||||||
class: 'btn-danger'
|
class: 'btn-danger',
|
||||||
|
awToolTip: 'Remove the credential'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -148,7 +156,8 @@ angular.module('TeamFormDefinition', [])
|
|||||||
actions: {
|
actions: {
|
||||||
add: {
|
add: {
|
||||||
ngClick: "add('projects')",
|
ngClick: "add('projects')",
|
||||||
icon: 'icon-plus'
|
icon: 'icon-plus',
|
||||||
|
label: 'Add'
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
@@ -167,13 +176,15 @@ angular.module('TeamFormDefinition', [])
|
|||||||
label: 'Edit',
|
label: 'Edit',
|
||||||
ngClick: "edit('projects', \{\{ project.id \}\}, '\{\{ project.name \}\}')",
|
ngClick: "edit('projects', \{\{ project.id \}\}, '\{\{ project.name \}\}')",
|
||||||
icon: 'icon-edit',
|
icon: 'icon-edit',
|
||||||
class: 'btn-success'
|
class: 'btn-success',
|
||||||
|
awToolTip: 'Modify the project'
|
||||||
},
|
},
|
||||||
delete: {
|
delete: {
|
||||||
label: 'Delete',
|
label: 'Delete',
|
||||||
ngClick: "delete('projects', \{\{ project.id \}\}, '\{\{ project.name \}\}', 'projects')",
|
ngClick: "delete('projects', \{\{ project.id \}\}, '\{\{ project.name \}\}', 'projects')",
|
||||||
icon: 'icon-remove',
|
icon: 'icon-remove',
|
||||||
class: 'btn-danger'
|
class: 'btn-danger',
|
||||||
|
awToolTip: 'Remove the project'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user