{% extends 'creme_core/bricks/generic/hat-bar.html' %} {% load i18n %} {% block icon %} {% with img_url=object.image.get_dl_url %} {% if img_url %} {% translate 'Logo' as img_label %}{{img_label}} {% else %} {{block.super}} {% endif %} {% endwith %} {% endblock %}