mirror of
https://github.com/morpheus65535/bazarr
synced 2025-02-20 21:17:02 +00:00
Adding tooltip to have full timestamp.
This commit is contained in:
parent
8d5d0f5bba
commit
8a833ed941
1 changed files with 3 additions and 4 deletions
|
@ -132,7 +132,7 @@
|
||||||
<th></th>
|
<th></th>
|
||||||
<th class="collapsing"></th>
|
<th class="collapsing"></th>
|
||||||
<th style="text-align: left;">Message:</th>
|
<th style="text-align: left;">Message:</th>
|
||||||
<th style="text-align: left;">Time:</th>
|
<th class="collapsing" style="text-align: left;">Time:</th>
|
||||||
<th></th>
|
<th></th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
|
@ -500,9 +500,8 @@
|
||||||
},
|
},
|
||||||
{ data: 0,
|
{ data: 0,
|
||||||
render: function ( data, type, row ) {
|
render: function ( data, type, row ) {
|
||||||
//return $.trim(data);
|
return '<div class="description" data-tooltip="' + $.trim(data) + '" data-inverted="" data-position="top left">' + moment($.trim(data), "DD/MM/YYYY hh:mm:ss").fromNow() + '</div>'
|
||||||
return moment($.trim(data), "DD/MM/YYYY hh:mm:ss").fromNow();
|
}
|
||||||
}
|
|
||||||
},
|
},
|
||||||
{ data: 4,
|
{ data: 4,
|
||||||
render: function ( data, type, row ) {
|
render: function ( data, type, row ) {
|
||||||
|
|
Loading…
Reference in a new issue