source
This commit is contained in:
parent
791e7600b7
commit
962a16a3e8
3 changed files with 14 additions and 0 deletions
11
config.jsonc
11
config.jsonc
|
@ -195,6 +195,17 @@
|
||||||
"autocomplete": true,
|
"autocomplete": true,
|
||||||
"columnWidth": 256
|
"columnWidth": 256
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"id": "source",
|
||||||
|
"operator": "+",
|
||||||
|
"title": "Source",
|
||||||
|
"type": "string",
|
||||||
|
"filter": true,
|
||||||
|
"find": true,
|
||||||
|
"sort": true,
|
||||||
|
"autocomplete": true,
|
||||||
|
"columnWidth": 256
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"id": "group",
|
"id": "group",
|
||||||
"operator": "+",
|
"operator": "+",
|
||||||
|
|
|
@ -46,6 +46,8 @@ os.symlink(basename(target), t)
|
||||||
for root, folders, files in os.walk(join(base, 'scripts')):
|
for root, folders, files in os.walk(join(base, 'scripts')):
|
||||||
for f in files:
|
for f in files:
|
||||||
src = join(root, f)
|
src = join(root, f)
|
||||||
|
if '__pycache__' in src or src.endswith('.pyc'):
|
||||||
|
continue
|
||||||
target = src.replace(base, '/srv/pandora')
|
target = src.replace(base, '/srv/pandora')
|
||||||
rel_src = os.path.relpath(src, dirname(target))
|
rel_src = os.path.relpath(src, dirname(target))
|
||||||
if os.path.exists(target):
|
if os.path.exists(target):
|
||||||
|
|
|
@ -231,6 +231,7 @@ pandora.ui.documentInfoView = function(data, isMixed) {
|
||||||
|
|
||||||
renderGroup(['author', 'date', 'format']);
|
renderGroup(['author', 'date', 'format']);
|
||||||
renderGroup(['publisher', 'place', 'series', 'language']);
|
renderGroup(['publisher', 'place', 'series', 'language']);
|
||||||
|
renderGroup(['source']);
|
||||||
renderGroup(['movement', 'event', 'associatedgroups']);
|
renderGroup(['movement', 'event', 'associatedgroups']);
|
||||||
renderGroup(['tags']);
|
renderGroup(['tags']);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue