You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by ab...@apache.org on 2014/02/24 19:13:11 UTC

git commit: AMBARI-4808 Client-only Services should not show all Services commands in UI 2. (ababiichuk)

Repository: ambari
Updated Branches:
  refs/heads/trunk 8ead12ba7 -> 77de4b96c


AMBARI-4808 Client-only Services should not show all Services commands in UI 2. (ababiichuk)


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

Branch: refs/heads/trunk
Commit: 77de4b96ce5bdffca548ed6a9f09713caac7c050
Parents: 8ead12b
Author: aBabiichuk <ab...@cybervisiontech.com>
Authored: Mon Feb 24 20:07:36 2014 +0200
Committer: aBabiichuk <ab...@cybervisiontech.com>
Committed: Mon Feb 24 20:07:36 2014 +0200

----------------------------------------------------------------------
 .../templates/main/service/info/summary/pig.hbs | 23 ++++++++++++++++++++
 .../main/service/info/summary/sqoop.hbs         | 23 ++++++++++++++++++++
 .../templates/main/service/info/summary/tez.hbs |  9 ++++----
 .../main/service/info/summary/zookeeper.hbs     |  9 ++++----
 4 files changed, 56 insertions(+), 8 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/77de4b96/ambari-web/app/templates/main/service/info/summary/pig.hbs
----------------------------------------------------------------------
diff --git a/ambari-web/app/templates/main/service/info/summary/pig.hbs b/ambari-web/app/templates/main/service/info/summary/pig.hbs
new file mode 100644
index 0000000..769865a
--- /dev/null
+++ b/ambari-web/app/templates/main/service/info/summary/pig.hbs
@@ -0,0 +1,23 @@
+{{!
+* Licensed to the Apache Software Foundation (ASF) under one
+* or more contributor license agreements.  See the NOTICE file
+* distributed with this work for additional information
+* regarding copyright ownership.  The ASF licenses this file
+* to you under the Apache License, Version 2.0 (the
+* "License"); you may not use this file except in compliance
+* with the License.  You may obtain a copy of the License at
+*
+*     http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+}}
+<tr>
+  <td class="summary-label"><a {{action filterHosts view.clientObj}} href="javascript:void(null)" >{{t services.pig.client}}</a></td>
+  <td>
+    <span class="green-live">{{view.clients.length}} </span>{{pluralize view.clients.length singular="t:services.pig.client" plural="t:services.pig.clients"}} {{t common.installed}}
+  </td>
+</tr>

http://git-wip-us.apache.org/repos/asf/ambari/blob/77de4b96/ambari-web/app/templates/main/service/info/summary/sqoop.hbs
----------------------------------------------------------------------
diff --git a/ambari-web/app/templates/main/service/info/summary/sqoop.hbs b/ambari-web/app/templates/main/service/info/summary/sqoop.hbs
new file mode 100644
index 0000000..31eead6
--- /dev/null
+++ b/ambari-web/app/templates/main/service/info/summary/sqoop.hbs
@@ -0,0 +1,23 @@
+{{!
+* Licensed to the Apache Software Foundation (ASF) under one
+* or more contributor license agreements.  See the NOTICE file
+* distributed with this work for additional information
+* regarding copyright ownership.  The ASF licenses this file
+* to you under the Apache License, Version 2.0 (the
+* "License"); you may not use this file except in compliance
+* with the License.  You may obtain a copy of the License at
+*
+*     http://www.apache.org/licenses/LICENSE-2.0
+*
+* Unless required by applicable law or agreed to in writing, software
+* distributed under the License is distributed on an "AS IS" BASIS,
+* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+* See the License for the specific language governing permissions and
+* limitations under the License.
+}}
+<tr>
+  <td class="summary-label"><a {{action filterHosts view.clientObj}} href="javascript:void(null)" >{{t services.sqoop.client}}</a></td>
+  <td>
+    <span class="green-live">{{view.clients.length}} </span>{{pluralize view.clients.length singular="t:services.sqoop.client" plural="t:services.sqoop.clients"}} {{t common.installed}}
+  </td>
+</tr>

http://git-wip-us.apache.org/repos/asf/ambari/blob/77de4b96/ambari-web/app/templates/main/service/info/summary/tez.hbs
----------------------------------------------------------------------
diff --git a/ambari-web/app/templates/main/service/info/summary/tez.hbs b/ambari-web/app/templates/main/service/info/summary/tez.hbs
index 8447693..f139d64 100644
--- a/ambari-web/app/templates/main/service/info/summary/tez.hbs
+++ b/ambari-web/app/templates/main/service/info/summary/tez.hbs
@@ -15,8 +15,9 @@
 * See the License for the specific language governing permissions and
 * limitations under the License.
 }}
-<td class="summary-label"><a {{action filterHosts view.clientObj}} href="javascript:void(null)" >{{t services.tez.client}}</a></td>
-<td>
-  <span class="green-live">{{view.clients.length}} </span>{{pluralize view.clients.length singular="t:services.tez.client" plural="t:services.tez.clients"}} {{t common.installed}}
-</td>
+<tr>
+  <td class="summary-label"><a {{action filterHosts view.clientObj}} href="javascript:void(null)" >{{t services.tez.client}}</a></td>
+  <td>
+    <span class="green-live">{{view.clients.length}} </span>{{pluralize view.clients.length singular="t:services.tez.client" plural="t:services.tez.clients"}} {{t common.installed}}
+  </td>
 </tr>

http://git-wip-us.apache.org/repos/asf/ambari/blob/77de4b96/ambari-web/app/templates/main/service/info/summary/zookeeper.hbs
----------------------------------------------------------------------
diff --git a/ambari-web/app/templates/main/service/info/summary/zookeeper.hbs b/ambari-web/app/templates/main/service/info/summary/zookeeper.hbs
index a65a69c..cf3481a 100644
--- a/ambari-web/app/templates/main/service/info/summary/zookeeper.hbs
+++ b/ambari-web/app/templates/main/service/info/summary/zookeeper.hbs
@@ -19,8 +19,9 @@
 
 
 {{view view.sumMasterComponentView}}
-<td class="summary-label"><a {{action filterHosts view.clientObj}} href="javascript:void(null)" >{{t services.zookeeper.client}}</a></td>
-  <td>
-    <span class="green-live">{{view.clients.length}} </span>{{t services.zookeeper.client}}{{#if view.hasManyClients}}s{{/if}} {{t common.installed}}
-  </td>
+<tr>
+  <td class="summary-label"><a {{action filterHosts view.clientObj}} href="javascript:void(null)" >{{t services.zookeeper.client}}</a></td>
+    <td>
+      <span class="green-live">{{view.clients.length}} </span>{{t services.zookeeper.client}}{{#if view.hasManyClients}}s{{/if}} {{t common.installed}}
+    </td>
 </tr>