{% macro comments_table(institute, case, comments, variant_id=None) %}
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 %} {% if comment.created_at < comment.updated_at %} edited {% endif %} | {{ comment.content }} |
Variant-related comments | |
{{comment.created_at.strftime('%Y-%m-%d')}} {{comment.user_name}} {% if comment.level == 'global' %} GLOBAL {% endif %} {% if comment.created_at < case.updated_at %} OLD {% endif %} {% if comment.created_at < comment.updated_at %} edited {% endif %} | {{ comment.content }} |
Single sample case: {{ case.individuals.0.display_name }}
{% else %}