Compare commits

..

No commits in common. "c8e6bc8f83da9e1575d6e4e718ff93fc681eb64e" and "8d216b4852dac889be14e564e80303898935c934" have entirely different histories.

3 changed files with 16 additions and 9 deletions

View file

@ -519,6 +519,17 @@ 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",
@ -1149,7 +1160,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": "frames", "icons": "posters",
"infoIconSize": 256, "infoIconSize": 256,
"item": "", "item": "",
"itemFind": "", "itemFind": "",

View file

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