Show relative timestamps as heading, formatted as tooltip

Be consistent with owncloud own version sidebar, and loleaflet's
DocumentRepair dialog.
pull/1/head
Pranav Kant 8 years ago
parent ee1e6388f9
commit cf97470caf

@ -217,7 +217,7 @@ var documentsMain = {
revHistoryItemTemplate: '<li>' +
'<a href="{{downloadUrl}}" class="downloadVersion has-tooltip" title="Download"><img src="{{downloadIconUrl}}" />' +
'<a class="versionPreview"><span class="versiondate has-tooltip" title="{{relativeTimestamp}}">{{formattedTimestamp}}</span></a>' +
'<a class="versionPreview"><span class="versiondate has-tooltip" title="{{formattedTimestamp}}">{{relativeTimestamp}}</span></a>' +
'<a href="{{restoreUrl}}" class="restoreVersion"><img src="{{restoreIconUrl}}" />' +
'</a>' +
'</li>',

Loading…
Cancel
Save