link document

This commit is contained in:
j 2020-09-11 11:31:38 +02:00
commit 3a68a85172
2 changed files with 17 additions and 1 deletions

View file

@ -420,6 +420,22 @@ pandora.ui.documentInfoView = function(data, isMixed) {
.appendTo($statistics);
renderRightsLevel();
// Links
$('<div>')
.css({marginTop: '16px', marginBottom: '16px', pointer: 'cursor'})
.append('')
.append(
Ox.Theme.formatColor(null, 'gradient')
.html('View Document')
.css({poiner: 'cursor'})
.on({
click: function() {
pandora.UI.set({documentView: 'view'})
}
})
)
.appendTo($statistics);
function editMetadata(key, value) {
if (value != data[key]) {
var edit = {