mirror of
https://github.com/ansible/awx.git
synced 2024-11-01 08:21:15 +03:00
Merge pull request #1997 from Haokun-Chen/fix-dashboard-icon
fixed job list action icon on dashboard page for system auditor user
This commit is contained in:
commit
b944f2d681
@ -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…
Reference in New Issue
Block a user