let personas have dl src
This commit is contained in:
Родитель
7c228d1005
Коммит
44dc483aa6
|
@ -19,7 +19,7 @@ def disco_persona_preview(context, persona, size='large', linked=True,
|
|||
if linked:
|
||||
url = reverse('discovery.addons.detail', args=[persona.addon.slug])
|
||||
url = settings.SERVICES_URL + url
|
||||
if src in ('discovery-promo', 'discovery-featured'):
|
||||
if src in ('discovery-video', 'discovery-promo', 'discovery-featured'):
|
||||
url = urlparams(url, src=src)
|
||||
return persona_preview(context, persona, size=size, linked=linked,
|
||||
extra=extra, details=details, title=title,
|
||||
|
|
Загрузка…
Ссылка в новой задаче