You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kylin.apache.org by zh...@apache.org on 2015/10/23 05:37:32 UTC

incubator-kylin git commit: KYLIN-389, could not edit cube name after created

Repository: incubator-kylin
Updated Branches:
  refs/heads/2.x-staging 7ad1c6152 -> b266e5560


KYLIN-389, could not edit cube name after created


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

Branch: refs/heads/2.x-staging
Commit: b266e5560d94e613bddec8902def1cdc5144c521
Parents: 7ad1c61
Author: jiazhong <ji...@ebay.com>
Authored: Fri Oct 23 11:37:00 2015 +0800
Committer: jiazhong <ji...@ebay.com>
Committed: Fri Oct 23 11:37:00 2015 +0800

----------------------------------------------------------------------
 webapp/app/partials/cubeDesigner/info.html | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-kylin/blob/b266e556/webapp/app/partials/cubeDesigner/info.html
----------------------------------------------------------------------
diff --git a/webapp/app/partials/cubeDesigner/info.html b/webapp/app/partials/cubeDesigner/info.html
index 3389c4a..53279cf 100644
--- a/webapp/app/partials/cubeDesigner/info.html
+++ b/webapp/app/partials/cubeDesigner/info.html
@@ -46,7 +46,7 @@
                         <b>Cube Name</b>
                     </label>
                     <div class="col-xs-12 col-sm-6" ng-class="{'has-error':forms.cube_info_form.cube_name.$invalid && (forms.cube_info_form.cube_name.$dirty||forms.cube_info_form.cube_name.$sbumitted)}">
-                        <input ng-if="state.mode=='edit'" name="cube_name" type="text" class="form-control"
+                        <input ng-if="state.mode=='edit'" ng-disabled="{{isEdit}}"  name="cube_name" type="text" class="form-control"
                                ng-model="cubeMetaFrame.name" required
                                placeholder="You can use letters, numbers, and '_'"
                                ng-maxlength=100 ng-pattern="/^\w+$/" />
@@ -98,8 +98,9 @@
                 <div class="row">
                     <div class="col-xs-12">
                         <ol class="text-info">
-                            <li>Cube must belong to project which you have privilege to create</li>
                             <li>Cube name is unique name of entire system</li>
+                            <li>Can not edit cube name after created</li>
+                            <li>Cube must belong to project which you have privilege to create</li>
                         </ol>
                     </div>
                 </div>