link document

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

View File

@ -19,8 +19,8 @@ else:
for regex, fragments in (
['Vol. (\d+), No. (\d+)', ['Vol.', 'No.']],
['Vol (\d+) no (\d+)', [' Vol ', ' no ']],
['vol (\d+) no (\d+)', [' Vol ', ' no ']],
['Vol:(\d+) #(\d+)', ['Vol:', '#']],
#['no (\d+) (\d+)-', [' no ']],
):
query = {
'conditions': [

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 = {