Compare commits

...

2 commits

Author SHA1 Message Date
j
3a68a85172 link document 2020-09-11 11:31:38 +02:00
j
4ceec57d08 fix space 2020-09-11 11:31:32 +02:00
3 changed files with 26 additions and 10 deletions

View file

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

View file

@ -245,6 +245,15 @@
"find": true, "find": true,
"sort": true "sort": true
}, },
{
"id": "space",
"title": "Space",
"type": ["string"],
"columnWidth": 128,
"filter": true,
"find": true,
"sort": true
},
{ {
"id": "date", "id": "date",
"title": "Date", "title": "Date",
@ -672,15 +681,6 @@
"find": true, "find": true,
"sort": true "sort": true
}, },
{
"id": "space",
"title": "Space",
"type": ["string"],
"columnWidth": 128,
"filter": true,
"find": true,
"sort": true
},
{ {
"id": "date", "id": "date",
"title": "Date", "title": "Date",

View file

@ -420,6 +420,22 @@ pandora.ui.documentInfoView = function(data, isMixed) {
.appendTo($statistics); .appendTo($statistics);
renderRightsLevel(); 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) { function editMetadata(key, value) {
if (value != data[key]) { if (value != data[key]) {
var edit = { var edit = {