#if(data.type == "NoResults"){#
  • #: data.Title #
  • #} else {# #if(data.type == "RequestOffering"){#
  • #: localization.Requests #
  • #} else if(data.type == "Favorite"){#
  • #: localization.Favorites #
  • #} else if(data.type == "KnowledgeArticle"){#
  • #: localization.KnowledgeArticles #
  • # } # #if(data.type != "NoResults"){# # for (var i = 0; i < data.results.length ; i++) { # #var current = data.results[i];# #current.Description = current.Description.replace(/["]/g,'\'')# #if(data.type == "RequestOffering" || data.type == "Favorite"){#
  • #if(!_.isNull(current.RequestOfferingLinkUrl)){# #: current.Title # #} else {# #: current.Title # # } #
  • #} else {#
  • image #: current.Title #
  • # } # # } # # } # #if(data.type == "RequestOffering" && data.showAllLink){#

  • #: localization.ViewAllRequests #
  • #: localization.ViewAll #
  • #} else if(data.type == "Favorite" && data.showAllLink){#

  • #: localization.ViewAllFavorites #
  • #: localization.ViewAll #
  • #} else if(data.type == "KnowledgeArticle" && data.showAllLink){#

  • #: localization.ViewAllKA #
  • #: localization.ViewAll #
  • # } # # } #