Merge branch 'master' of git.0x2620.org:0x2620/pandora_erg
This commit is contained in:
commit
e8995ea46c
2 changed files with 21 additions and 18 deletions
35
config.jsonc
35
config.jsonc
|
@ -551,14 +551,18 @@ examples (config.SITENAME.jsonc) that are part of this pan.do/ra distribution.
|
||||||
"sort": true
|
"sort": true
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "summary",
|
"id": "genre",
|
||||||
"title": "Topic",
|
"title": "Genre",
|
||||||
"type": "text",
|
"type": ["string"],
|
||||||
"find": true
|
"autocomplete": true,
|
||||||
|
"columnWidth": 120,
|
||||||
|
"filter": true,
|
||||||
|
"find": true,
|
||||||
|
"sort": true
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "topic",
|
"id": "section",
|
||||||
"title": "Topic",
|
"title": "Section",
|
||||||
"type": ["string"],
|
"type": ["string"],
|
||||||
"autocomplete": true,
|
"autocomplete": true,
|
||||||
"columnWidth": 180,
|
"columnWidth": 180,
|
||||||
|
@ -566,6 +570,12 @@ examples (config.SITENAME.jsonc) that are part of this pan.do/ra distribution.
|
||||||
"find": true,
|
"find": true,
|
||||||
"sort": true
|
"sort": true
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"id": "summary",
|
||||||
|
"title": "Summary",
|
||||||
|
"type": "text",
|
||||||
|
"find": true
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"id": "notes",
|
"id": "notes",
|
||||||
"title": "Notes",
|
"title": "Notes",
|
||||||
|
@ -643,8 +653,8 @@ examples (config.SITENAME.jsonc) that are part of this pan.do/ra distribution.
|
||||||
"find": true
|
"find": true
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"id": "runtime",
|
"id": "duration",
|
||||||
"title": "Runtime",
|
"title": "Duration",
|
||||||
"type": "time",
|
"type": "time",
|
||||||
"columnWidth": 90,
|
"columnWidth": 90,
|
||||||
"format": {"type": "duration", "args": []},
|
"format": {"type": "duration", "args": []},
|
||||||
|
@ -772,13 +782,6 @@ examples (config.SITENAME.jsonc) that are part of this pan.do/ra distribution.
|
||||||
"sort": true,
|
"sort": true,
|
||||||
"value": {"key": "files", "type": "length"}
|
"value": {"key": "files", "type": "length"}
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"id": "filename",
|
|
||||||
"title": "Filename",
|
|
||||||
"type": ["string"],
|
|
||||||
"capability": "canSeeMedia",
|
|
||||||
"find": true
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"id": "created",
|
"id": "created",
|
||||||
"title": "Date Created",
|
"title": "Date Created",
|
||||||
|
@ -1176,7 +1179,7 @@ examples (config.SITENAME.jsonc) that are part of this pan.do/ra distribution.
|
||||||
{"id": "director", "sort": [{"key": "items", "operator": "-"}]},
|
{"id": "director", "sort": [{"key": "items", "operator": "-"}]},
|
||||||
{"id": "country", "sort": [{"key": "items", "operator": "-"}]},
|
{"id": "country", "sort": [{"key": "items", "operator": "-"}]},
|
||||||
{"id": "year", "sort": [{"key": "name", "operator": "-"}]},
|
{"id": "year", "sort": [{"key": "name", "operator": "-"}]},
|
||||||
{"id": "topic", "sort": [{"key": "items", "operator": "-"}]},
|
{"id": "section", "sort": [{"key": "items", "operator": "-"}]},
|
||||||
{"id": "keywords", "sort": [{"key": "items", "operator": "-"}]}
|
{"id": "keywords", "sort": [{"key": "items", "operator": "-"}]}
|
||||||
],
|
],
|
||||||
"filtersSize": 176,
|
"filtersSize": 176,
|
||||||
|
|
|
@ -319,7 +319,7 @@ pandora.ui.infoView = function(data, isMixed) {
|
||||||
|
|
||||||
|
|
||||||
// Duration, Aspect Ratio --------------------------------------------------
|
// Duration, Aspect Ratio --------------------------------------------------
|
||||||
if (!isMultiple) {
|
if (!isMultiple && data.parts && data.rendered) {
|
||||||
['duration', 'aspectratio'].forEach(function(key) {
|
['duration', 'aspectratio'].forEach(function(key) {
|
||||||
var itemKey = Ox.getObjectById(pandora.site.itemKeys, key),
|
var itemKey = Ox.getObjectById(pandora.site.itemKeys, key),
|
||||||
value = data[key] || 0;
|
value = data[key] || 0;
|
||||||
|
@ -394,7 +394,7 @@ pandora.ui.infoView = function(data, isMixed) {
|
||||||
.append(
|
.append(
|
||||||
Ox.EditableContent({
|
Ox.EditableContent({
|
||||||
height: 128,
|
height: 128,
|
||||||
placeholder: formatLight(Ox._(isMixed ? 'Mixed notes' : 'No notes')),
|
placeholder: formatLight(Ox._(isMixed.notes ? 'Mixed notes' : 'No notes')),
|
||||||
tooltip: pandora.getEditTooltip(),
|
tooltip: pandora.getEditTooltip(),
|
||||||
type: 'textarea',
|
type: 'textarea',
|
||||||
value: data.notes || '',
|
value: data.notes || '',
|
||||||
|
|
Loading…
Reference in a new issue