mirror of
https://github.com/ansible/awx.git
synced 2024-11-01 08:21:15 +03:00
Merge pull request #35 from mabashian/7269-inv-org
Fixed inventory organization link bug
This commit is contained in:
commit
6335953376
@ -25,7 +25,7 @@ export default ['i18n', 'templateUrl', function(i18n, templateUrl){
|
||||
key: true,
|
||||
label: i18n._('Name'),
|
||||
columnClass: 'col-md-3 col-sm-9 col-xs-9',
|
||||
linkTo: '/#/notification_templates/{{notifier.id}}'
|
||||
linkTo: '/#/notification_templates/{{notification.id}}'
|
||||
},
|
||||
notification_type: {
|
||||
label: i18n._('Type'),
|
||||
|
@ -278,7 +278,7 @@ function(ConfigurationUtils, i18n, $rootScope) {
|
||||
restrict: 'A',
|
||||
link: function(scope, element, attrs) {
|
||||
element.bind('click', function(event) {
|
||||
if (attrs.disableRow) {
|
||||
if (scope.$eval(attrs.disableRow)) {
|
||||
event.preventDefault();
|
||||
}
|
||||
return;
|
||||
|
@ -322,8 +322,8 @@ export default ['$compile', 'Attr', 'Icon',
|
||||
innerTable += "]\" ";
|
||||
innerTable += "id=\"{{ " + list.iterator + ".id }}\" ";
|
||||
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.orderBy) ? " | orderBy:'" + list.orderBy + "'" : "";
|
||||
innerTable += (list.filterBy) ? " | filter: " + list.filterBy : "";
|
||||
|
Loading…
Reference in New Issue
Block a user