Name
global.VASearchGAIQACardCreatorVancouver
Description
No description available
Script
var VASearchGAIQACardCreatorVancouver = Class.create();
VASearchGAIQACardCreatorVancouver.prototype = Object.extendsObject(global.VASearchCardCreatorVancouver, {
initialize: function(reultType, searchMetadata, searchResults, vaSystem, vaInputs, vaVars, vaContext, index, cardType, dynamicChoiceNodeName) {
VASearchCardCreatorVancouver.prototype.initialize.call(
this, reultType, searchMetadata, searchResults, vaSystem, vaInputs, vaVars, vaContext, cardType, index, dynamicChoiceNodeName);
},
preProcess: function() {
this.setData('linkHref', this.getMetricsURL());
},
getTranslations: function() {
if (this.CARD_DATA["identifier"] == "Top Result:") {
var topResultTranslatedTerm = gs.getMessageLang("Top Result:", vaContext.getRequesterLang());
this.setData('identifier', topResultTranslatedTerm);
}
if (this.CARD_DATA["headerPrefix"] == "Powered by ") {
var poweredByTranslatedTerm = gs.getMessageLang("Powered by ", vaContext.getRequesterLang());
this.setData('headerPrefix', poweredByTranslatedTerm);
}
if (this.CARD_DATA["footerPrefix"] == "Source: ") {
var sourceTranslatedTerm = gs.getMessageLang("Source: ", vaContext.getRequesterLang());
this.setData('footerPrefix', sourceTranslatedTerm);
}
},
type: 'VASearchGAIQACardCreatorVancouver'
});
Sys ID
3df64a4eeb572110bbbd7558b55228a3