hide Favorite Add-ons Contest Winners promo on discopane (bug 781285)
This commit is contained in:
Родитель
ea95f98d2b
Коммит
0ac1b13aea
|
@ -286,5 +286,10 @@ class Olympics(TemplatePromo):
|
|||
|
||||
|
||||
class ContestWinners(TemplatePromo):
|
||||
slug= 'Contest Winners'
|
||||
slug = 'Contest Winners'
|
||||
template = 'discovery/modules/contest-winners.html'
|
||||
|
||||
def render(self, module_context='discovery'):
|
||||
# Hide on discovery pane.
|
||||
if module_context == 'home':
|
||||
return super(ContestWinners, self).render()
|
||||
|
|
Загрузка…
Ссылка в новой задаче