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 (
['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

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

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