mirror of
https://github.com/goharbor/harbor.git
synced 2025-02-17 04:11:24 +01:00
add refresh button onto the sync-image job list.
This commit is contained in:
parent
384f59344e
commit
4caf2becb4
@ -61,6 +61,12 @@
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
$scope.$watch('vm.targetId', function(current) {
|
||||||
|
if(current) {
|
||||||
|
vm1.selection.id = current;
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
$scope.$watch('replication.destination.endpoint', function(current) {
|
$scope.$watch('replication.destination.endpoint', function(current) {
|
||||||
if(current) {
|
if(current) {
|
||||||
vm.notAvailable = false;
|
vm.notAvailable = false;
|
||||||
@ -321,12 +327,6 @@
|
|||||||
ctrl.edit(ctrl.policyId);
|
ctrl.edit(ctrl.policyId);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
scope.$watch('vm.targetId', function(current) {
|
|
||||||
if(current) {
|
|
||||||
scope.replication.destination.selection.id = current;
|
|
||||||
}
|
|
||||||
});
|
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -60,6 +60,9 @@
|
|||||||
<button class="btn btn-primary" type="button" ng-click="vm.searchReplicationJob()"><span class="glyphicon glyphicon-search"></span></button>
|
<button class="btn btn-primary" type="button" ng-click="vm.searchReplicationJob()"><span class="glyphicon glyphicon-search"></span></button>
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
|
<div class="input-group pull-right">
|
||||||
|
<a class="btn btn-link" ng-click="vm.searchReplicationJob()"><span class="glyphicon glyphicon-refresh"></span> // 'refresh' | tr //</a>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="pane-split" id="down-pane">
|
<div class="pane-split" id="down-pane">
|
||||||
<div class="sub-pane-split">
|
<div class="sub-pane-split">
|
||||||
|
@ -186,5 +186,6 @@ var locale_messages = {
|
|||||||
'destination_already_exists': 'Destination already exists.',
|
'destination_already_exists': 'Destination already exists.',
|
||||||
'failed_delete_destination': 'Delete destination failed:',
|
'failed_delete_destination': 'Delete destination failed:',
|
||||||
'failed_create_destination': 'Create destination failed:',
|
'failed_create_destination': 'Create destination failed:',
|
||||||
'failed_update_destination': 'Failed update destination:'
|
'failed_update_destination': 'Failed update destination:',
|
||||||
|
'refresh': 'Refresh'
|
||||||
};
|
};
|
@ -185,5 +185,6 @@ var locale_messages = {
|
|||||||
'destination_already_exists': '目标已存在。',
|
'destination_already_exists': '目标已存在。',
|
||||||
'failed_delete_destination': '删除目标失败:',
|
'failed_delete_destination': '删除目标失败:',
|
||||||
'failed_create_destination': '创建目标失败:',
|
'failed_create_destination': '创建目标失败:',
|
||||||
'failed_update_destination': '修改目标失败:'
|
'failed_update_destination': '修改目标失败:',
|
||||||
|
'refresh': '刷新'
|
||||||
};
|
};
|
Loading…
Reference in New Issue
Block a user