mirror of
https://github.com/goharbor/harbor.git
synced 2024-12-24 09:38:09 +01:00
update messages for repositories and watching result of repo count.
This commit is contained in:
parent
6216799942
commit
bab38f2514
@ -27,6 +27,12 @@
|
|||||||
vm.tagCount = {};
|
vm.tagCount = {};
|
||||||
vm.retrieve();
|
vm.retrieve();
|
||||||
|
|
||||||
|
$scope.$watch('vm.repositories', function(current) {
|
||||||
|
if(current) {
|
||||||
|
vm.repositories = current || [];
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
$scope.$on('repoName', function(e, val) {
|
$scope.$on('repoName', function(e, val) {
|
||||||
vm.repoName = val;
|
vm.repoName = val;
|
||||||
});
|
});
|
||||||
|
@ -122,5 +122,5 @@ var locale_messages = {
|
|||||||
'to_harbor': ' to Harbor!',
|
'to_harbor': ' to Harbor!',
|
||||||
'continue' : 'Continue',
|
'continue' : 'Continue',
|
||||||
'no_projects_add_new_project': 'No projects, add new project now.',
|
'no_projects_add_new_project': 'No projects, add new project now.',
|
||||||
'no_repositories': 'No repositories, use "push command" to upload new images.'
|
'no_repositories': 'No repositories found, please use "docker push" to upload images.'
|
||||||
};
|
};
|
@ -120,5 +120,5 @@ var locale_messages = {
|
|||||||
'to_harbor': ' 使用Harbor!',
|
'to_harbor': ' 使用Harbor!',
|
||||||
'continue' : '继续',
|
'continue' : '继续',
|
||||||
'no_projects_add_new_project': '当前没有项目,请新增项目。',
|
'no_projects_add_new_project': '当前没有项目,请新增项目。',
|
||||||
'no_repositories': '当前没有镜像仓库,使用"push命令"上传镜像。'
|
'no_repositories': '未发现镜像,请用"docker push"命令上传镜像。'
|
||||||
};
|
};
|
Loading…
Reference in New Issue
Block a user