1
0
mirror of https://github.com/ansible/awx.git synced 2024-11-01 16:51:11 +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" collection="collection"
search-tags="searchTags"> search-tags="searchTags">
</smart-search> </smart-search>
<div class="at-List-toolbarAction"> <div class="at-List-toolbarAction" ng-show="canAdd">
<button <button
type="button" type="button"
ui-sref="applications.add" ui-sref="applications.add"
@ -51,13 +51,9 @@
</at-row-item> </at-row-item>
</div> </div>
<div class="at-Row-actions"> <div class="at-Row-actions">
<!-- TODO: delete application should be based on user capabilities but that's not <at-row-action icon="fa-trash" ng-click="vm.deleteApplication(application)"
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)"
ng-show="application.summary_fields.user_capabilities.delete"> ng-show="application.summary_fields.user_capabilities.delete">
</at-row-action> --> </at-row-action>
</div> </div>
</at-row> </at-row>
</at-list> </at-list>

View File

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