AMBARI-20177. HiveView2.0: Text 'Create Database' is shown on UI with status of editing a table. (dipayanb)
Project: http://git-wip-us.apache.org/repos/asf/ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/04039a65 Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/04039a65 Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/04039a65 Branch: refs/heads/branch-feature-AMBARI-12556 Commit: 04039a6542c6f9cd4d44ead1107aac69dec1e8ff Parents: 4fb86de Author: Dipayan Bhowmick <dipayan.bhowm...@gmail.com> Authored: Wed Mar 1 12:17:28 2017 +0530 Committer: Dipayan Bhowmick <dipayan.bhowm...@gmail.com> Committed: Wed Mar 1 12:18:11 2017 +0530 ---------------------------------------------------------------------- .../src/main/resources/ui/app/templates/components/edit-table.hbs | 2 +- .../ui/app/templates/components/table-advanced-settings.hbs | 2 +- .../ui/app/templates/databases/database/tables/table/edit.hbs | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ambari/blob/04039a65/contrib/views/hive20/src/main/resources/ui/app/templates/components/edit-table.hbs ---------------------------------------------------------------------- diff --git a/contrib/views/hive20/src/main/resources/ui/app/templates/components/edit-table.hbs b/contrib/views/hive20/src/main/resources/ui/app/templates/components/edit-table.hbs index 70e7824..7a02d3a 100644 --- a/contrib/views/hive20/src/main/resources/ui/app/templates/components/edit-table.hbs +++ b/contrib/views/hive20/src/main/resources/ui/app/templates/components/edit-table.hbs @@ -47,7 +47,7 @@ </div> <div class="create-table-controls"> <div class="row"> - <div class="col-md-2"> + <div class="col-md-12"> <button class="btn btn-success" {{action "edit"}}>{{fa-icon "edit"}} Edit</button> <button class="btn btn-warning" {{action "cancel"}}>{{fa-icon "times"}} Cancel</button> </div> http://git-wip-us.apache.org/repos/asf/ambari/blob/04039a65/contrib/views/hive20/src/main/resources/ui/app/templates/components/table-advanced-settings.hbs ---------------------------------------------------------------------- diff --git a/contrib/views/hive20/src/main/resources/ui/app/templates/components/table-advanced-settings.hbs b/contrib/views/hive20/src/main/resources/ui/app/templates/components/table-advanced-settings.hbs index 4aca56d..da1c0b4 100644 --- a/contrib/views/hive20/src/main/resources/ui/app/templates/components/table-advanced-settings.hbs +++ b/contrib/views/hive20/src/main/resources/ui/app/templates/components/table-advanced-settings.hbs @@ -39,7 +39,7 @@ <label class="col-md-2 control-label">Number of buckets</label> <div class="col-md-6"> <div class="{{if hasNumBucketError 'has-error'}}"> - {{input type="number" class="form-control" value=settings.numBuckets disabled=disableNumBucketsInput}} + {{input type="number" min="0" class="form-control" value=settings.numBuckets disabled=disableNumBucketsInput}} {{#if hasNumBucketError}} <span class="help-block">{{numBucketErrorText}}</span> {{/if}} http://git-wip-us.apache.org/repos/asf/ambari/blob/04039a65/contrib/views/hive20/src/main/resources/ui/app/templates/databases/database/tables/table/edit.hbs ---------------------------------------------------------------------- diff --git a/contrib/views/hive20/src/main/resources/ui/app/templates/databases/database/tables/table/edit.hbs b/contrib/views/hive20/src/main/resources/ui/app/templates/databases/database/tables/table/edit.hbs index 79f1701..6e4de64 100644 --- a/contrib/views/hive20/src/main/resources/ui/app/templates/databases/database/tables/table/edit.hbs +++ b/contrib/views/hive20/src/main/resources/ui/app/templates/databases/database/tables/table/edit.hbs @@ -35,7 +35,7 @@ container-class="modal-dialog modal-sm"}} <div class="modal-content"> <div class="modal-header text-danger"> - <p class="modal-title">{{fa-icon "plus"}} Create Database</p> + <p class="modal-title">{{fa-icon "plus"}} Edit Table</p> </div> <div class="modal-body text-center text-primary"> <p>{{modalMessage}}</p>