Merge pull request #7277 from G-Chubinidze/gc_SCI_10276

Tooltip position is not next to title and some are missing [SCI-10276]
This commit is contained in:
aignatov-bio 2024-05-09 11:05:58 +02:00 committed by GitHub
commit 81b2593cba
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 3 additions and 2 deletions

View file

@ -641,7 +641,8 @@ var RepositoryDatatable = (function(global) {
visible: true,
render: function(data, type, row) {
return "<a href='" + row.recordInfoUrl + "'"
+ "class='record-info-link' data-e2e='e2e-TL-invInventoryTR-Item-" + row.DT_RowId + "'>" + data + '</a>';
+ " class='record-info-link' data-e2e='e2e-TL-invInventoryTR-Item-" + row.DT_RowId + "'"
+ " title='" + data + "'>" + data + '</a>';
}
}, {
targets: 4,

View file

@ -8,7 +8,7 @@
data-label-after='<%= config[:label_after] %>'
data-placeholder='<%= config[:placeholder] %>'
>
<div class="view-mode" data-placeholder="<%= config[:placeholder] %>" tabindex=0><%= initial_value %></div>
<div class="view-mode" title="<%= initial_value %>" data-placeholder="<%= config[:placeholder] %>" tabindex=0><%= initial_value %></div>
<input placeholder="<%= config[:placeholder] %>" class="hidden input-field" type="text" value="<%= initial_value %>" disabled/>
<div class="button-container hidden">
<span class="save-button"><i class="sn-icon sn-icon-check"></i></span>