mirror of
https://github.com/ansible/awx.git
synced 2026-01-14 03:10:42 -03:30
fixed dashboard icon under job template section for system auditor user
dashboard icon fixed
This commit is contained in:
parent
b3b38777c1
commit
be4e5c8f06
@ -32,7 +32,8 @@ export default
|
||||
can_start: template.summary_fields.user_capabilities.start,
|
||||
name: template.name,
|
||||
id: template.id,
|
||||
type: template.type
|
||||
type: template.type,
|
||||
can_edit: template.summary_fields.user_capabilities.edit
|
||||
}; });
|
||||
}
|
||||
|
||||
|
||||
@ -33,7 +33,8 @@
|
||||
<td class="List-actionsContainer">
|
||||
<div class="List-actionButtonCell">
|
||||
<button class="List-actionButton" ng-click="editTemplate(template)">
|
||||
<i class="fa fa-pencil"></i>
|
||||
<i class="fa fa-pencil" ng-show="template.can_edit"></i>
|
||||
<i class="fa fa-search-plus" ng-show="!template.can_edit"></i>
|
||||
</button>
|
||||
<at-launch-template template="template"
|
||||
ng-show="template.can_start">
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user