1
0
mirror of https://github.com/ansible/awx.git synced 2024-11-01 08:21:15 +03:00

Merge pull request #1940 from jlmitch5/fixAuditor

Fix auditor issues of displaying stuff you shouldn't in the ui
This commit is contained in:
John Mitchell 2018-05-25 09:34:42 -04:00 committed by GitHub
commit 733c3fe594
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 7 deletions

View File

@ -18,7 +18,7 @@
collection="collection"
search-tags="searchTags">
</smart-search>
<div class="at-List-toolbarAction">
<div class="at-List-toolbarAction" ng-show="canAdd">
<button
type="button"
ui-sref="applications.add"
@ -51,13 +51,9 @@
</at-row-item>
</div>
<div class="at-Row-actions">
<!-- TODO: delete application should be based on user capabilities but that's not
implemented in the api yet -->
<at-row-action icon="fa-trash" ng-click="vm.deleteApplication(application)">
</at-row-action>
<!-- <at-row-action icon="fa-trash" ng-click="vm.deleteApplication(application)"
<at-row-action icon="fa-trash" ng-click="vm.deleteApplication(application)"
ng-show="application.summary_fields.user_capabilities.delete">
</at-row-action> -->
</at-row-action>
</div>
</at-row>
</at-list>

View File

@ -16,6 +16,10 @@
padding-top: 4px;
}
input.DatePicker-input[disabled] {
background: @ebgrey;
}
@media (min-width: 901px) {
.SchedulerForm-formGroup {
flex: 0 0 auto;