You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by pa...@apache.org on 2016/06/02 15:28:33 UTC

ambari git commit: AMBARI-16947. Files View : Table row overlaps if group name is long (pallavkul)

Repository: ambari
Updated Branches:
  refs/heads/trunk ed7c64ad2 -> 0df919ade


AMBARI-16947. Files View : Table row overlaps if group name is long (pallavkul)


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

Branch: refs/heads/trunk
Commit: 0df919ade14001a882cc6b7779e0f0f745de55fa
Parents: ed7c64a
Author: Pallav Kulshreshtha <pa...@gmail.com>
Authored: Thu Jun 2 20:57:59 2016 +0530
Committer: Pallav Kulshreshtha <pa...@gmail.com>
Committed: Thu Jun 2 20:57:59 2016 +0530

----------------------------------------------------------------------
 .../src/main/resources/ui/app/templates/components/file-row.hbs  | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/0df919ad/contrib/views/files/src/main/resources/ui/app/templates/components/file-row.hbs
----------------------------------------------------------------------
diff --git a/contrib/views/files/src/main/resources/ui/app/templates/components/file-row.hbs b/contrib/views/files/src/main/resources/ui/app/templates/components/file-row.hbs
index a631335..72ed840 100644
--- a/contrib/views/files/src/main/resources/ui/app/templates/components/file-row.hbs
+++ b/contrib/views/files/src/main/resources/ui/app/templates/components/file-row.hbs
@@ -35,10 +35,10 @@
     {{show-date file.modificationTime 'YYYY-MM-DD HH:mm'}}
   </div>
   <div class={{get-value-from-columns columnHeaders 'owner' 'columnClass'}}>
-    {{file.owner}}
+    {{shorten-text file.owner 20}}
   </div>
   <div class={{get-value-from-columns columnHeaders 'group' 'columnClass'}}>
-    {{file.group}}
+    {{shorten-text file.group 10}}
   </div>
   <div class={{get-value-from-columns columnHeaders 'permission' 'columnClass'}}>
     {{show-permission-string file}}