Repository: kylin
Updated Branches:
  refs/heads/master 84dd4b6f8 -> e4b1d7e0b


KYLIN-3034 In the models tree, the 'Edit(JSON)' option is missing partly.


Project: http://git-wip-us.apache.org/repos/asf/kylin/repo
Commit: http://git-wip-us.apache.org/repos/asf/kylin/commit/e4b1d7e0
Tree: http://git-wip-us.apache.org/repos/asf/kylin/tree/e4b1d7e0
Diff: http://git-wip-us.apache.org/repos/asf/kylin/diff/e4b1d7e0

Branch: refs/heads/master
Commit: e4b1d7e0be3d657963e8ada357c150c2e703883f
Parents: 84dd4b6
Author: peng.jianhua <peng.jian...@zte.com.cn>
Authored: Fri Nov 17 19:47:57 2017 +0800
Committer: chenzhx <c...@apache.org>
Committed: Mon Nov 20 15:42:47 2017 +0800

----------------------------------------------------------------------
 webapp/app/partials/models/models_tree.html | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/kylin/blob/e4b1d7e0/webapp/app/partials/models/models_tree.html
----------------------------------------------------------------------
diff --git a/webapp/app/partials/models/models_tree.html 
b/webapp/app/partials/models/models_tree.html
index 399f839..c10d57d 100644
--- a/webapp/app/partials/models/models_tree.html
+++ b/webapp/app/partials/models/models_tree.html
@@ -52,7 +52,7 @@
                 <button type="button" class="btn btn-default btn-xs 
dropdown-toggle" data-toggle="dropdown" ng-click="listModelAccess(model)">
                   Action <span class="ace-icon fa fa-caret-down 
icon-on-right"></span>
                 </button>
-                <ul class="dropdown-menu" role="menu" 
ng-if="(userService.hasRole('ROLE_ADMIN') || hasPermission(model, 
permissions.ADMINISTRATION.mask, permissions.MANAGEMENT.mask, 
permissions.OPERATION.mask))">
+                <ul class="dropdown-menu" role="menu" 
style="right:0;left:auto;" ng-if="(userService.hasRole('ROLE_ADMIN') || 
hasPermission(model, permissions.ADMINISTRATION.mask, 
permissions.MANAGEMENT.mask, permissions.OPERATION.mask))">
                   <li><a ng-click="editModel(model, false)"  title="Edit 
Model" style="cursor:pointer;margin-right: 8px;" >Edit</a></li>
                   <li><a ng-click="cloneModel(model)" title="Clone Model"  
style="cursor:pointer;margin-right: 8px;" >Clone </a></li>
                   <li><a ng-click="dropModel(model)" title="Drop Model"  
style="cursor:pointer;margin-right: 8px;">Drop</a></li>

Reply via email to