{% load i18n thumbnail %}{% thumbnail org.logo wxh upscale sharpen as org_logo %}{% if org_logo %}{# all on one line to work in js #}<div style="width: {{width}}px; height:{{height}}px; text-align: center; vertical-align: middle; {{div_style}}"><img src="{{org_logo}}" alt="{% trans 'Logo of' %} {{org.name}}" style="{{img_style}}" /></div>{% else %}<div style="width: {{width}}px; height:{{height}}px; background: #F6F6F6; text-align: center; {{div_style}}">{% trans 'Logo missing' %}</div>{% endif %}
{% load i18n thumbnail %}{% thumbnail org.logo wxh upscale sharpen as org_logo %}{% if org_logo %}{# all on one line to work in js #}<div style="width: {{width}}px; height:{{org_logo.height}}px; text-align: center; vertical-align: middle; {{div_style}}"><img src="{{org_logo}}" alt="{% trans 'Logo of' %} {{org.name}}" style="{{img_style}}" /></div>{% else %}<div style="width: {{width}}px; height:{{height}}px; background: #F6F6F6; text-align: center; {{div_style}}">{% trans 'Logo missing' %}</div>{% endif %}
Fix height for dwarf-sized org logos
Fix height for dwarf-sized org logos
