icma link

This commit is contained in:
j 2019-03-12 17:56:27 +00:00
parent 81d84635fc
commit d974cde572

View file

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