Skip to content

Commit f5373b1

Browse files
authored
Merge pull request #539 from lepdou/modify_app_info
optimize namespace more operation button UI
2 parents d5a9c5f + 9e18241 commit f5373b1

File tree

3 files changed

+5
-7
lines changed

3 files changed

+5
-7
lines changed

apollo-portal/src/main/resources/static/config.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,7 @@ <h4 class="text-center" ng-show="viewMode == 2">
282282
'</b> 个实例正在使用Namespace(' + deleteNamespaceContext.namespace.baseInfo.namespaceName +
283283
'),删除Namespace将导致实例获取不到配置。<br>
284284
请到 <ins>“实例列表”</ins> 确认实例信息,如已确认删除Namespace将不会导致实例异常,
285-
请发送邮件至<ins> <a href=\'mailto:[email protected]\'>Apollo团队([email protected])</a></ins> 删除Namespace。'"
285+
请联系Apollo相关负责人删除Namespace'"
286286
apollo-confirm="continueDeleteNamespace">
287287
</apolloconfirmdialog>
288288

@@ -292,7 +292,7 @@ <h4 class="text-center" ng-show="viewMode == 2">
292292
+ '</b> 个实例正在使用Namespace(' + deleteNamespaceContext.namespace.baseInfo.namespaceName +
293293
')灰度版本的配置,删除Namespace将导致实例获取不到配置。<br>
294294
请到 <ins>“灰度版本” => “实例列表”</ins> 确认实例信息,如已确认删除Namespace将不会导致实例异常,
295-
请发送邮件至<ins> <a href=\'mailto:[email protected]\'>Apollo团队([email protected])</a></ins> 删除Namespace。'"
295+
请联系Apollo相关负责人删除Namespace'"
296296
apollo-confirm="continueDeleteNamespace">
297297
</apolloconfirmdialog>
298298

apollo-portal/src/main/resources/static/styles/common-style.css

-4
Original file line numberDiff line numberDiff line change
@@ -790,7 +790,3 @@ table th {
790790
background: #fff;
791791
}
792792

793-
.dropdown:hover .dropdown-menu {
794-
display: block;
795-
margin-top: 0;
796-
}

apollo-portal/src/main/resources/static/views/component/namespace-panel-master-tab.html

+3-1
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,10 @@
7474
申请配置权限
7575
</a>
7676

77-
<div class="btn-group dropdown">
77+
<div class="btn-group"
78+
ng-show="namespace.hasModifyPermission || namespace.hasReleasePermission || hasAssignUserPermission">
7879
<button type="button" class="btn btn-default btn-sm dropdown-toggle"
80+
data-toggle="dropdown"
7981
aria-haspopup="true" aria-expanded="false">
8082
<img src="img/operate.png"> <span class="caret"></span>
8183
</button>

0 commit comments

Comments
 (0)