Browse Source

HUE-3673 [editor] Elipsis for the name of the query in the Saved History

Enrico Berti 9 years ago
parent
commit
2e7c6f5

+ 1 - 1
desktop/libs/notebook/src/notebook/templates/editor_components.mako

@@ -1078,7 +1078,7 @@ ${ hueIcons.symbols() }
             </thead>
             <tbody data-bind="foreach: queries">
             <tr>
-              <td style="width: 16%"><a href="javascript: void(0);" data-bind="text: name, click: function() { $root.openNotebook(uuid) }"></a></td>
+              <td style="width: 16%"><a href="javascript: void(0);" data-bind="ellipsis: {data: name, length: 30}, click: function() { $root.openNotebook(uuid) }"></a></td>
               <td style="width: 50%; white-space: normal"><span data-bind="text: description"></span></td>
               <td style="width: 18%"><span data-bind="text: owner"></span></td>
               <td style="width: 16%"><span data-bind="text: localeFormat(last_modified)"></span></td>