提交 9c0fe442 编写于 作者: Z zhangle

bugfix: nav search bar link

上级 5935296f
......@@ -43,14 +43,11 @@ directive_module.directive('apollonav', function ($compile, $window, toastr, App
scope.jumpToConfigPage = function () {
if (selectedApp.appId) {
var needReloadPage = false;
if ($window.location.href.indexOf("config.html") > -1) {
needReloadPage = true;
}
$window.location.href = '/config.html?#appid=' + selectedApp.appId;
if (needReloadPage) {
$window.location.hash = "appid=" + selectedApp.appId;
$window.location.reload();
}else {
$window.location.href = '/config.html?#appid=' + selectedApp.appId;
}
}
};
......
......@@ -4,15 +4,12 @@
<a class="navbar-brand logo" href="/"></a>
</div>
<style>
</style>
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
<ul class="nav navbar-nav navbar-right">
<li>
<a href="http://conf.ctripcorp.com/display/FRAM/Apollo" target="_blank">
<span class="glyphicon glyphicon-question-sign"></span> Help
<span class="glyphicon glyphicon-question-sign"></span>帮助
</a>
</li>
......
......@@ -31,7 +31,7 @@
</button>
<button type="button" class="btn btn-default btn-sm J_tableview_btn"
data-tooltip="tooltip" data-placement="bottom" title="回滚配置"
data-tooltip="tooltip" data-placement="bottom" title="回滚已发布配置"
ng-show="namespace.hasReleasePermission"
ng-click="preRollback(namespace)">
<img src="img/rollback.png">
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册