{% load bootstrap %}
{% if topic.tags.all %} {% endif %}

Relations

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 %}