in bedrock/firefox/views.py [0:0]
def get_template_names(self):
variation = self.request.GET.get("v", None)
experience = self.request.GET.get("xv", None)
locale = l10n_utils.get_locale(self.request)
# ensure variant matches pre-defined value
if variation not in self.variations:
variation = None
if ftl_file_is_active("firefox/new/desktop") and experience != "basic":
if experience == "refresh-new" and variation == "a" and locale in ["en-US", "en-CA"]:
template = "firefox/new/desktop/experiment-firefox-new-refresh-a.html"
elif experience == "refresh-new" and variation == "b" and locale in ["en-US", "en-CA"]:
template = "firefox/new/desktop/experiment-firefox-new-refresh-b.html"
else:
template = "firefox/new/desktop/download.html"
else:
template = "firefox/new/basic/base_download.html"
return [template]