no link if isMultiple
This commit is contained in:
parent
8ad02fb30d
commit
ee17d0cf03
1 changed files with 16 additions and 14 deletions
|
@ -421,20 +421,22 @@ pandora.ui.documentInfoView = function(data, isMixed) {
|
|||
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);
|
||||
if (!isMultiple) {
|
||||
$('<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]) {
|
||||
|
|
Loading…
Reference in a new issue