Compare commits

...

4 commits

Author SHA1 Message Date
j
d974cde572 icma link 2019-03-12 17:56:27 +00:00
j
81d84635fc add icma id 2019-03-12 17:53:02 +00:00
j
9f96292dde remove musespace 2019-03-12 15:40:08 +00:00
j
86d17b1b6f adjust config for cinegenus 2019-03-12 10:33:05 +00:00
4 changed files with 20 additions and 26 deletions

View file

@ -535,7 +535,7 @@ examples (config.SITENAME.jsonc) that are part of this pan.do/ra distribution.
}, },
{ {
"id": "country", "id": "country",
"title": "Production Country", "title": "Country",
"type": ["string"], "type": ["string"],
"autocomplete": true, "autocomplete": true,
"columnWidth": 180, "columnWidth": 180,
@ -577,16 +577,6 @@ examples (config.SITENAME.jsonc) that are part of this pan.do/ra distribution.
"find": true, "find": true,
"sort": true "sort": true
}, },
{
"id": "setincountry",
"title": "Set in Country",
"type": ["string"],
"autocomplete": true,
"columnWidth": 180,
"filter": true,
"find": true,
"sort": true
},
{ {
"id": "style", "id": "style",
"title": "Style", "title": "Style",
@ -780,6 +770,14 @@ examples (config.SITENAME.jsonc) that are part of this pan.do/ra distribution.
"secondaryId": true, "secondaryId": true,
"sort": true "sort": true
}, },
{
"id": "icmaId",
"title": "Indiancine.ma ID",
"type": "string",
"columnWidth": 90,
"secondaryId": true,
"sort": true
},
{ {
"id": "comments", "id": "comments",
"title": "Comments", "title": "Comments",
@ -1205,22 +1203,22 @@ examples (config.SITENAME.jsonc) that are part of this pan.do/ra distribution.
the system (from). the system (from).
*/ */
"site": { "site": {
"description": "CineMuseSpace: A Cinematic Musée Imaginaire of Spatial Cultural Differences", "description": "CineGenus research project",
"email": { "email": {
// E-mail address in contact form (to) // E-mail address in contact form (to)
"contact": "js2034@cam.ac.uk", "contact": "js2034@cam.ac.uk",
"footer": "-- \npandora.cinemusespace.com", "footer": "-- \ncinegenus.cinemusespace.com",
"prefix": "CineMuseSpace News -", "prefix": "CineGenus News -",
// E-mail address uses by the system (from) // E-mail address uses by the system (from)
"system": "system@pandora.cinemusespace.com" "system": "system@cinegenus.cinemusespace.com"
}, },
"https": false, "https": false,
"id": "cms", "id": "cms",
"name": "CineMuseSpace", "name": "CineGenus",
// Set to true to allow search engines to index the site // Set to true to allow search engines to index the site
"public": false, "public": false,
"sendReferrer": true, "sendReferrer": true,
"url": "pandora.cinemusespace.com" "url": "cinegenus.cinemusespace.com"
}, },
/* /*
"sitePages" defines the sections of the main site dialog. If "news" is "sitePages" defines the sections of the main site dialog. If "news" is

View file

@ -301,7 +301,7 @@ pandora.ui.infoView = function(data) {
renderGroup(['originalTitle', 'alternativeTitles']); renderGroup(['originalTitle', 'alternativeTitles']);
renderGroup(['setincountry', 'type', 'framework', 'style', 'version']); renderGroup(['type', 'framework', 'style', 'version']);
renderGroup(['country', 'year', 'language', 'runtime', 'color', 'sound']); renderGroup(['country', 'year', 'language', 'runtime', 'color', 'sound']);
@ -314,7 +314,7 @@ pandora.ui.infoView = function(data) {
renderGroup(['actor']); renderGroup(['actor']);
renderGroup(['filmingLocations']); renderGroup(['filmingLocations']);
renderGroup(['imdbId', 'genre']); renderGroup(['imdbId', 'icmaId', 'genre']);
if (canEdit) { if (canEdit) {
updateIMDb(); updateIMDb();
@ -603,13 +603,9 @@ pandora.ui.infoView = function(data) {
} else if (key == 'imdbId') { } else if (key == 'imdbId') {
ret = '<a href="http://www.imdb.com/title/tt' ret = '<a href="http://www.imdb.com/title/tt'
+ value + '">' + value + '</a>'; + value + '">' + value + '</a>';
} else if (key == 'encyclopedia') { } else if (key == 'icmaId') {
ret = '<a href="/texts/indiancine.ma:Encyclopedia%20of%20Indian%20Cinema/' ret = '<a href="https://indiancine.ma/'
+ (value == 'Summary' ? '240' : '570') + '">' + value + '">' + value + '</a>';
+ value + '</a>';
} else if (key == 'wiki') {
ret = '<a href="' + value + '">'
+ Ox.decodeURIComponent(value.split('wiki/').pop()) + '</a>';
} else { } else {
ret = value; ret = value;
} }

Binary file not shown.

Before

Width:  |  Height:  |  Size: 17 KiB

After

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 48 KiB

After

Width:  |  Height:  |  Size: 44 KiB