mirror of
https://github.com/ansible/awx.git
synced 2024-11-01 16:51:11 +03:00
Fixed inventory organization link bug
This commit is contained in:
parent
175f4e7e98
commit
d7f368ec64
@ -25,7 +25,7 @@ export default ['i18n', 'templateUrl', function(i18n, templateUrl){
|
|||||||
key: true,
|
key: true,
|
||||||
label: i18n._('Name'),
|
label: i18n._('Name'),
|
||||||
columnClass: 'col-md-3 col-sm-9 col-xs-9',
|
columnClass: 'col-md-3 col-sm-9 col-xs-9',
|
||||||
linkTo: '/#/notification_templates/{{notifier.id}}'
|
linkTo: '/#/notification_templates/{{notification.id}}'
|
||||||
},
|
},
|
||||||
notification_type: {
|
notification_type: {
|
||||||
label: i18n._('Type'),
|
label: i18n._('Type'),
|
||||||
|
@ -278,7 +278,7 @@ function(ConfigurationUtils, i18n, $rootScope) {
|
|||||||
restrict: 'A',
|
restrict: 'A',
|
||||||
link: function(scope, element, attrs) {
|
link: function(scope, element, attrs) {
|
||||||
element.bind('click', function(event) {
|
element.bind('click', function(event) {
|
||||||
if (attrs.disableRow) {
|
if (scope.$eval(attrs.disableRow)) {
|
||||||
event.preventDefault();
|
event.preventDefault();
|
||||||
}
|
}
|
||||||
return;
|
return;
|
||||||
|
@ -322,8 +322,8 @@ export default ['$compile', 'Attr', 'Icon',
|
|||||||
innerTable += "]\" ";
|
innerTable += "]\" ";
|
||||||
innerTable += "id=\"{{ " + list.iterator + ".id }}\" ";
|
innerTable += "id=\"{{ " + list.iterator + ".id }}\" ";
|
||||||
innerTable += "class=\"List-tableRow " + list.iterator + "_class\" ";
|
innerTable += "class=\"List-tableRow " + list.iterator + "_class\" ";
|
||||||
innerTable += "ng-repeat=\"" + list.iterator + " in " + list.name + "\"";
|
innerTable += (list.disableRow) ? " disable-row=\"" + list.disableRow + "\" " : "";
|
||||||
innerTable += (list.disableRow) ? " disable-row=" + list.disableRow + " " : "";
|
innerTable += "ng-repeat=\"" + list.iterator + " in " + list.name;
|
||||||
innerTable += (list.trackBy) ? " track by " + list.trackBy : "";
|
innerTable += (list.trackBy) ? " track by " + list.trackBy : "";
|
||||||
innerTable += (list.orderBy) ? " | orderBy:'" + list.orderBy + "'" : "";
|
innerTable += (list.orderBy) ? " | orderBy:'" + list.orderBy + "'" : "";
|
||||||
innerTable += (list.filterBy) ? " | filter: " + list.filterBy : "";
|
innerTable += (list.filterBy) ? " | filter: " + list.filterBy : "";
|
||||||
|
Loading…
Reference in New Issue
Block a user