Verified Commit 2c55ef0c authored by Sébastiaan Versteeg's avatar Sébastiaan Versteeg
Browse files

Fix events external registration

parent d750e8c7
{% extends "base.html" %}
{% load i18n static bleach_tags thumbnail member_card google_map_url %}
{% load i18n static bleach_tags thumbnail member_card google_map_url grid_item %}
{% block title %}{{ event.title }} — {% trans "Calendar"|capfirst %} — {{ block.super }}{% endblock %}
{% block opengraph_title %}{{ event.title }} — {% trans "Calendar"|capfirst %} — {{ block.super }}{% endblock %}
......@@ -233,7 +233,8 @@
{% for registration in event.participants %}
<div class="col-4 col-md-3 my-3">
{% if registration.is_external %}
{% static 'members/images/default-avatar.jpg' as image %}
{% grid_item title=registration.name image_url=image %}
{% else %}
{% member_card registration.member %}
{% endif %}
......
Supports Markdown
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