icma link

This commit is contained in:
j 2019-03-12 17:56:27 +00:00
parent 81d84635fc
commit d974cde572
1 changed files with 3 additions and 7 deletions

View File

@ -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;
}