mirror of
https://github.com/ansible/awx.git
synced 2026-05-08 18:07:36 -02:30
On related sets, moved create button near filter widget and added labels to all buttons.
This commit is contained in:
@@ -158,8 +158,9 @@ angular.module('JobTemplateFormDefinition', [])
|
||||
|
||||
fieldActions: {
|
||||
edit: {
|
||||
label: 'View',
|
||||
ngClick: "edit('jobs', \{\{ job.id \}\}, '\{\{ job.name \}\}')",
|
||||
icon: 'icon-edit'
|
||||
icon: 'icon-zoom-in'
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
@@ -77,10 +77,13 @@ angular.module('OrganizationFormDefinition', [])
|
||||
|
||||
fieldActions: {
|
||||
edit: {
|
||||
label: 'Edit',
|
||||
ngClick: "edit('users', \{\{ user.id \}\}, '\{\{ user.username \}\}')",
|
||||
icon: 'icon-edit'
|
||||
icon: 'icon-edit',
|
||||
class: 'btn-success'
|
||||
},
|
||||
delete: {
|
||||
label: 'Delete',
|
||||
ngClick: "delete('users', \{\{ user.id \}\}, '\{\{ user.username \}\}', 'users')",
|
||||
icon: 'icon-remove',
|
||||
class: 'btn-danger'
|
||||
@@ -113,7 +116,14 @@ angular.module('OrganizationFormDefinition', [])
|
||||
}
|
||||
},
|
||||
fieldActions: { // Actions available on each row
|
||||
edit: {
|
||||
label: 'Edit',
|
||||
ngClick: "edit('users', \{\{ admin.id \}\}, '\{\{ admin.username \}\}')",
|
||||
icon: 'icon-edit',
|
||||
class: 'btn-success'
|
||||
},
|
||||
delete: {
|
||||
label: 'Delete',
|
||||
ngClick: "delete('admins', \{\{ admin.id \}\}, '\{\{ admin.username \}\}', 'administrators')",
|
||||
icon: 'icon-remove',
|
||||
class: 'btn-danger'
|
||||
|
||||
@@ -86,10 +86,13 @@ angular.module('TeamFormDefinition', [])
|
||||
|
||||
fieldActions: {
|
||||
edit: {
|
||||
label: 'Edit',
|
||||
ngClick: "edit('users', \{\{ user.id \}\}, '\{\{ user.username \}\}')",
|
||||
icon: 'icon-edit'
|
||||
icon: 'icon-edit',
|
||||
class: 'btn-success'
|
||||
},
|
||||
delete: {
|
||||
label: 'Delete',
|
||||
ngClick: "delete('users', \{\{ user.id \}\}, '\{\{ user.username \}\}', 'users')",
|
||||
icon: 'icon-remove',
|
||||
class: 'btn-danger'
|
||||
@@ -122,10 +125,13 @@ angular.module('TeamFormDefinition', [])
|
||||
|
||||
fieldActions: {
|
||||
edit: {
|
||||
label: 'Edit',
|
||||
ngClick: "edit('credentials', \{\{ credential.id \}\}, '\{\{ credential.name \}\}')",
|
||||
icon: 'icon-edit'
|
||||
icon: 'icon-edit',
|
||||
class: 'btn-success'
|
||||
},
|
||||
delete: {
|
||||
label: 'Delete',
|
||||
ngClick: "delete('credentials', \{\{ credential.id \}\}, '\{\{ credential.name \}\}', 'credentials')",
|
||||
icon: 'icon-remove',
|
||||
class: 'btn-danger'
|
||||
@@ -158,10 +164,13 @@ angular.module('TeamFormDefinition', [])
|
||||
|
||||
fieldActions: {
|
||||
edit: {
|
||||
label: 'Edit',
|
||||
ngClick: "edit('projects', \{\{ project.id \}\}, '\{\{ project.name \}\}')",
|
||||
icon: 'icon-edit'
|
||||
icon: 'icon-edit',
|
||||
class: 'btn-success'
|
||||
},
|
||||
delete: {
|
||||
label: 'Delete',
|
||||
ngClick: "delete('projects', \{\{ project.id \}\}, '\{\{ project.name \}\}', 'projects')",
|
||||
icon: 'icon-remove',
|
||||
class: 'btn-danger'
|
||||
|
||||
@@ -178,10 +178,13 @@ angular.module('UserFormDefinition', [])
|
||||
|
||||
fieldActions: {
|
||||
edit: {
|
||||
label: 'Edit',
|
||||
ngClick: "edit('credentials', \{\{ credential.id \}\}, '\{\{ credential.name \}\}')",
|
||||
icon: 'icon-edit'
|
||||
icon: 'icon-edit',
|
||||
class: 'btn-success'
|
||||
},
|
||||
delete: {
|
||||
label: 'Delete',
|
||||
ngClick: "delete('credentials', \{\{ credential.id \}\}, '\{\{ credential.name \}\}', 'credentials')",
|
||||
icon: 'icon-remove',
|
||||
class: 'btn-danger'
|
||||
|
||||
Reference in New Issue
Block a user