Commit 7527c4b7 authored by Job Doesburg's avatar Job Doesburg Committed by Job Doesburg
Browse files

Localize committee picture placeholders

parent da42c1d5
{% extends "base.html" %}
{% load i18n thumbnail static activemembers_cards %}
{% get_current_language as LANGUAGE_CODE %}
{% block title %}{% trans 'boards'|capfirst %} — {{ block.super }}{% endblock %}
{% block opengraph_title %}{% trans 'boards'|capfirst %} — {{ block.super }}{% endblock %}
......@@ -26,7 +28,7 @@
src="{% thumbnail current_board.photo THUMBNAIL_SIZE_LARGE fit=False %}">
{% else %}
<img alt="{{ current_board.name }}"
src="{% static 'activemembers/images/placeholder.png' %}">
src="/static/activemembers/images/{{ LANGUAGE_CODE }}/placeholder.png">
{% endif %}
</a>
</div>
......
{% extends "base.html" %}
{% load i18n static thumbnail bleach_tags activemembers_cards alert %}
{% get_current_language as LANGUAGE_CODE %}
{% block body %}
<section id="activemembers-membergroup" class="page-section">
......@@ -14,7 +15,7 @@
src="{% thumbnail membergroup.photo THUMBNAIL_SIZE_LARGE fit=False %}">
{% else %}
<img alt="{{ membergroup.name }}" class="col-12"
src="{% static 'activemembers/images/placeholder.png' %}">
src="/static/activemembers/images/{{ LANGUAGE_CODE }}/placeholder.png">
{% endif %}
</div>
</div>
......
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