{% macro comments_table(institute, case, comments, variant_id=None) %} {% for comment in comments %} {% endfor %}
User Comment
{{ comment.user_name }} on {{ comment.created_at.date() }} {% if comment.level == 'global' %} GLOBAL {% endif %} {% if comment.created_at < case.updated_at %} OLD {% endif %} {{ comment.content }}
{% endmacro %} {% macro comments_panel(institute, case, current_user, comments, variant_id=None) %}
Comments
{% endmacro %} {% macro activity_panel(events) %}
Activity
{% endmacro %} {% macro pedigree_panel(case) %}
Pedigree
{% if case.individuals|length == 1 %}

Single sample case: {{ case.individuals.0.display_name }}

{% else %}
{{ case.madeline_info|safe }}
{% endif %}
{% endmacro %}