Repository: ambari
Updated Branches:
  refs/heads/branch-2.4 7fff9d1db -> 07c9ce0a5


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/07c9ce0a
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/07c9ce0a
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/07c9ce0a

Branch: refs/heads/branch-2.4
Commit: 07c9ce0a5c35226314adf18598b8c4eb64456a04
Parents: 7fff9d1
Author: Pallav Kulshreshtha <[email protected]>
Authored: Thu Jun 2 20:57:59 2016 +0530
Committer: Pallav Kulshreshtha <[email protected]>
Committed: Thu Jun 2 20:59:05 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/07c9ce0a/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}}

Reply via email to