1
0
mirror of https://github.com/Radarr/Radarr.git synced 2024-11-04 10:02:40 +01:00

Added: Quotes around alternative titles (#2522)

Fixes #2511
This commit is contained in:
Qstick 2018-02-15 11:16:59 +01:00 committed by Leonardo Galli
parent b3e46d02c6
commit b40423f3a3

View File

@ -70,9 +70,9 @@ Handlebars.registerHelper('alternativeTitlesString', function() {
});
if (titles.length === 1) {
return titles[0];
return '"' + titles[0] + '"';
}
return titles.slice(0,titles.length-1).join(", ") + " and " + titles[titles.length-1];
return '"' + titles.slice(0,titles.length-1).join('", "') + '" and "' + titles[titles.length-1] + '"';
});
Handlebars.registerHelper('GetStatus', function() {