Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
superrain51
apollo
提交
a089714c
apollo
项目概览
superrain51
/
apollo
与 Fork 源项目一致
从无法访问的项目Fork
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
apollo
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
未验证
提交
a089714c
编写于
12月 02, 2018
作者:
J
Jason Song
提交者:
GitHub
12月 02, 2018
浏览文件
操作
浏览文件
下载
差异文件
Merge pull request #1734 from nobodyiam/missing-env-alert
add missing env and namespace alert
上级
e600f5b8
dddd4fac
变更
2
隐藏空白更改
内联
并排
Showing
2 changed file
with
8 addition
and
1 deletion
+8
-1
apollo-portal/src/main/resources/static/scripts/controller/config/ConfigBaseInfoController.js
...tic/scripts/controller/config/ConfigBaseInfoController.js
+7
-0
apollo-portal/src/main/resources/static/views/component/delete-namespace-modal.html
...ources/static/views/component/delete-namespace-modal.html
+1
-1
未找到文件。
apollo-portal/src/main/resources/static/scripts/controller/config/ConfigBaseInfoController.js
浏览文件 @
a089714c
...
...
@@ -105,6 +105,10 @@ function ConfigBaseInfoController($rootScope, $scope, $window, $location, toastr
AppService
.
find_miss_envs
(
$rootScope
.
pageContext
.
appId
).
then
(
function
(
result
)
{
$scope
.
missEnvs
=
AppUtil
.
collectData
(
result
);
if
(
$scope
.
missEnvs
.
length
>
0
)
{
toastr
.
warning
(
"
当前项目有环境缺失,请点击页面左侧『补缺环境』补齐数据
"
);
}
$scope
.
findMissingNamespaces
();
});
}
...
...
@@ -120,6 +124,9 @@ function ConfigBaseInfoController($rootScope, $scope, $window, $location, toastr
AppService
.
find_missing_namespaces
(
$rootScope
.
pageContext
.
appId
,
$rootScope
.
pageContext
.
env
,
$rootScope
.
pageContext
.
clusterName
).
then
(
function
(
result
)
{
$scope
.
missingNamespaces
=
AppUtil
.
collectData
(
result
);
if
(
$scope
.
missingNamespaces
.
length
>
0
)
{
toastr
.
warning
(
"
当前环境有Namespace缺失,请点击页面左侧『补缺Namespace』补齐数据
"
);
}
});
}
};
...
...
apollo-portal/src/main/resources/static/views/component/delete-namespace-modal.html
浏览文件 @
a089714c
...
...
@@ -12,7 +12,7 @@
删除Namespace将导致实例获取不到此Namespace的配置,确定要删除吗?
</div>
<div
class=
"modal-body form-horizontal"
ng-show=
"!toDeleteNamespace.isPublic"
>
删除私有Namespace将导致实例获取不到此Namespace的配置,
而且无法在当前集群重新创建该Namespace(除非使用管理员工具把所有环境的AppNamespace删除后重建
),确定要删除吗?
删除私有Namespace将导致实例获取不到此Namespace的配置,
且页面会提示缺失Namespace(除非使用管理员工具删除AppNamespace
),确定要删除吗?
</div>
<div
class=
"modal-footer"
>
<button
type=
"button"
class=
"btn btn-default"
data-dismiss=
"modal"
>
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录