mirror of
https://github.com/ansible/awx.git
synced 2026-05-08 01:47:35 -02:30
Don't include list actions in lookups
This commit is contained in:
@@ -171,8 +171,6 @@ export default ['$location', '$compile', '$rootScope', 'Attr', 'Icon',
|
|||||||
|
|
||||||
if (options.mode !== 'lookup' && (list.well === undefined || list.well)) {
|
if (options.mode !== 'lookup' && (list.well === undefined || list.well)) {
|
||||||
html += `<div class="${list.name}List List-well">`;
|
html += `<div class="${list.name}List List-well">`;
|
||||||
}
|
|
||||||
|
|
||||||
// List actions
|
// List actions
|
||||||
html += "<div class=\"List-actionHolder\">";
|
html += "<div class=\"List-actionHolder\">";
|
||||||
html += "<div class=\"List-actions\">";
|
html += "<div class=\"List-actions\">";
|
||||||
@@ -189,6 +187,7 @@ export default ['$location', '$compile', '$rootScope', 'Attr', 'Icon',
|
|||||||
html += "\n</div>";
|
html += "\n</div>";
|
||||||
html += "</div>";
|
html += "</div>";
|
||||||
// End list actions
|
// End list actions
|
||||||
|
}
|
||||||
|
|
||||||
html += (list.searchRowActions) ? "<div class='row'><div class=\"col-lg-8 col-md-8 col-sm-8 col-xs-12\">" : "";
|
html += (list.searchRowActions) ? "<div class='row'><div class=\"col-lg-8 col-md-8 col-sm-8 col-xs-12\">" : "";
|
||||||
if (list.searchRowActions && !list.searchSize) {
|
if (list.searchRowActions && !list.searchSize) {
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
<div class="Paginate page-row" ng-hide="dataset.count < 1">
|
<div class="Paginate page-row" ng-hide="dataset.count < 1">
|
||||||
<div class="Paginate-wrapper" ng-hide="dataset.count < pageSize">
|
<div class="Paginate-wrapper" ng-hide="dataset.count <= pageSize">
|
||||||
<ul class="Paginate-controls pagination">
|
<ul class="Paginate-controls pagination">
|
||||||
<!-- first -->
|
<!-- first -->
|
||||||
<li class="Paginate-controls--first Paginate-controls--item" ng-hide="pageRange.length < 10 || {{current}} === 1">
|
<li class="Paginate-controls--first Paginate-controls--item" ng-hide="pageRange.length < 10 || {{current}} === 1">
|
||||||
|
|||||||
Reference in New Issue
Block a user