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",
"title": "Production Country",
"title": "Country",
"type": ["string"],
"autocomplete": true,
"columnWidth": 180,
@ -577,16 +577,6 @@ examples (config.SITENAME.jsonc) that are part of this pan.do/ra distribution.
"find": true,
"sort": true
},
{
"id": "setincountry",
"title": "Set in Country",
"type": ["string"],
"autocomplete": true,
"columnWidth": 180,
"filter": true,
"find": true,
"sort": true
},
{
"id": "style",
"title": "Style",
@ -780,6 +770,14 @@ examples (config.SITENAME.jsonc) that are part of this pan.do/ra distribution.
"secondaryId": true,
"sort": true
},
{
"id": "icmaId",
"title": "Indiancine.ma ID",
"type": "string",
"columnWidth": 90,
"secondaryId": true,
"sort": true
},
{
"id": "comments",
"title": "Comments",
@ -1205,22 +1203,22 @@ examples (config.SITENAME.jsonc) that are part of this pan.do/ra distribution.
the system (from).
*/
"site": {
"description": "CineMuseSpace: A Cinematic Musée Imaginaire of Spatial Cultural Differences",
"description": "CineGenus research project",
"email": {
// E-mail address in contact form (to)
"contact": "js2034@cam.ac.uk",
"footer": "-- \npandora.cinemusespace.com",
"prefix": "CineMuseSpace News -",
"footer": "-- \ncinegenus.cinemusespace.com",
"prefix": "CineGenus News -",
// E-mail address uses by the system (from)
"system": "system@pandora.cinemusespace.com"
"system": "system@cinegenus.cinemusespace.com"
},
"https": false,
"id": "cms",
"name": "CineMuseSpace",
"name": "CineGenus",
// Set to true to allow search engines to index the site
"public": false,
"sendReferrer": true,
"url": "pandora.cinemusespace.com"
"url": "cinegenus.cinemusespace.com"
},
/*
"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(['setincountry', 'type', 'framework', 'style', 'version']);
renderGroup(['type', 'framework', 'style', 'version']);
renderGroup(['country', 'year', 'language', 'runtime', 'color', 'sound']);
@ -314,7 +314,7 @@ pandora.ui.infoView = function(data) {
renderGroup(['actor']);
renderGroup(['filmingLocations']);
renderGroup(['imdbId', 'genre']);
renderGroup(['imdbId', 'icmaId', 'genre']);
if (canEdit) {
updateIMDb();
@ -603,13 +603,9 @@ pandora.ui.infoView = function(data) {
} else if (key == 'imdbId') {
ret = '<a href="http://www.imdb.com/title/tt'
+ value + '">' + value + '</a>';
} else if (key == 'encyclopedia') {
ret = '<a href="/texts/indiancine.ma:Encyclopedia%20of%20Indian%20Cinema/'
+ (value == 'Summary' ? '240' : '570') + '">'
+ value + '</a>';
} else if (key == 'wiki') {
ret = '<a href="' + value + '">'
+ Ox.decodeURIComponent(value.split('wiki/').pop()) + '</a>';
} else if (key == 'icmaId') {
ret = '<a href="https://indiancine.ma/'
+ value + '">' + value + '</a>';
} else {
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