{% load bootstrap %} {% load profiles_extras %}
{% if topic.tags.all or perms.scipost.can_manage_ontology %} {% endif %}
{% if relations_asym or topic.relationsym_set.all or perms.scipost.can_manage_ontology %}

Relations to other Topics

asymmetric:
    {% for rel in relations_asym %}
  • {% if rel.A != topic %}{{ rel.A}}{% else %}{{ rel.A }}{% endif %} {{ rel.get_relation_display }} {% if rel.B != topic %}{{ rel.B }}{% else %}{{ rel.B }}{% endif %} {% if perms.scipost.can_manage_ontology %}{% endif %}
  • {% empty %}
  • No relations have been defined
  • {% endfor %}
{% if perms.scipost.can_manage_ontology %}
Add an asymmetric relation:
{% csrf_token %} {{ add_relation_asym_form }}
{% endif %}
symmetric:
    {% for rel in topic.relationsym_set.all %}
  • {% for reltopic in rel.topics.all %}{% if reltopic != topic %}{{ reltopic }}{% else %}{{ reltopic }}{% endif %}, {% endfor %} {{ rel.get_relation_display }}
  • {% empty %}
  • No symmetric relations have been defined
  • {% endfor %}

{% endif %}
Publications
    {% for pub in topic.publications.all %}
  • {{ pub.title }}
    by {{ pub.author_list }},
    {{ pub.citation }}
  • {% empty %}
  • No Publication found
  • {% endfor %}
Submissions (unpublished only)
    {% for sub in topic.submission_set.public_newest.unpublished %}
  • {{ sub.title }}
    by {{ sub.author_list }}
    (submitted {{ sub.submission_date|date:"Y-m-d" }} to {{ sub.submitted_to }})
  • {% empty %}
  • No Submission found
  • {% endfor %}
Top experts
    {% get_profiles topic.slug as profiles %} {% for profile in profiles %} {% if profile.contributor %}
  • {{ profile }}
  • {% else %}
  • {{ profile }}
  • {% endif %} {% empty %}
  • No Profile found
  • {% endfor %}
{% block footer_script %} {{ select_tags_form.media }} {{ add_relation_asym_form.media }} {% endblock %}