parent
32b6a69915
commit
b559cd7fde
8 changed files with 32 additions and 3 deletions
@ -0,0 +1,13 @@ |
|||||||
|
{% load static %} |
||||||
|
{% load template_filters %} |
||||||
|
|
||||||
|
<div class="abn"> |
||||||
|
{% with themes=object.theme.all %} |
||||||
|
{% for theme in themes %} |
||||||
|
{% if theme.id in banner_themes %} |
||||||
|
|
||||||
|
{% endif %} |
||||||
|
|
||||||
|
{% endfor %} |
||||||
|
{% endwith %} |
||||||
|
</div> |
||||||
@ -0,0 +1,6 @@ |
|||||||
|
{% load static %} |
||||||
|
<div class="abn"> |
||||||
|
{% if theme_for_filter.id in banner_themes or tag_for_filter.id in banner_tags %} |
||||||
|
|
||||||
|
{% endif %} |
||||||
|
</div> |
||||||
Loading…
Reference in new issue