Compare commits

...

2 commits

Author SHA1 Message Date
j
c8e6bc8f83 list categories 2019-10-23 15:07:26 +02:00
j
0b8d9bd04b create static folders if needed 2019-10-23 09:53:19 +02:00
3 changed files with 9 additions and 16 deletions

View file

@ -519,17 +519,6 @@ examples (config.SITENAME.jsonc) that are part of this pan.do/ra distribution.
"find": true, "find": true,
"sort": true "sort": true
}, },
{
"id": "project",
"title": "Project",
"type": "string",
"autocomplete": true,
"description": true,
"columnWidth": 120,
"filter": true,
"find": true,
"sort": true
},
{ {
"id": "categories", "id": "categories",
"title": "Categories", "title": "Categories",
@ -1160,7 +1149,7 @@ examples (config.SITENAME.jsonc) that are part of this pan.do/ra distribution.
"findDocuments": {"conditions": [], "operator": "&"}, "findDocuments": {"conditions": [], "operator": "&"},
"followPlayer": true, "followPlayer": true,
"help": "", "help": "",
"icons": "posters", "icons": "frames",
"infoIconSize": 256, "infoIconSize": 256,
"item": "", "item": "",
"itemFind": "", "itemFind": "",

View file

@ -37,6 +37,9 @@ if overwrite:
target = '%s.%s.js' % (filename, name) target = '%s.%s.js' % (filename, name)
if os.path.exists(target): if os.path.exists(target):
os.unlink(target) os.unlink(target)
target_folder = os.path.dirname(target)
if not os.path.exists(target_folder):
os.makedirs(target_folder)
os.symlink(src, target) os.symlink(src, target)
os.chdir(base) os.chdir(base)

View file

@ -229,7 +229,7 @@ pandora.ui.infoView = function(data, isMixed) {
// Source & Project -------------------------------------------------------- // Source & Project --------------------------------------------------------
if (!isMultiple) { if (!isMultiple) {
['source', 'project'].forEach(function(key) { ['source'].forEach(function(key) {
if (canEdit || data[key]) { if (canEdit || data[key]) {
var $div = $('<div>') var $div = $('<div>')
.addClass('OxSelectable') .addClass('OxSelectable')
@ -325,12 +325,13 @@ pandora.ui.infoView = function(data, isMixed) {
renderGroup(['date', 'language']); renderGroup(['date', 'language']);
renderGroup(['director', 'featuring']); //renderGroup(['director', 'featuring']);
if (isMultiple) { if (isMultiple) {
renderGroup(['source', 'project']); renderGroup(['source']);
} }
renderGroup(['topic']); renderGroup(['categories']);
// Summary ------------------------------------------------------------- // Summary -------------------------------------------------------------