Commit c43765c1 authored by Simon Daron's avatar Simon Daron
Browse files

Bug tabs only if there is episodes in current emission

parent 67f5626a
......@@ -26,6 +26,7 @@ def audio(context, sound=None):
@register.inclusion_tag('emissions/nav.html', takes_context=True)
def emission_nav(context, date=None):
return {
'episodes': context.get('episodes'),
'emission': context.get('emission'),
'episode': context.get('episode'),
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment