{% extends "base.html" %} {% from "macros.html" import fact_name with context %} {% block title %}{% if entity.id in ("project:.", "part:.", "worker:.") %}{{ entity.id[:-2] }} · {{ _("repository root") }}{% else %}{{ entity.id }}{% endif %}{% endblock %} {% block content %}

{{ _("Fact") }} · {{ entity.kind }}

{{ fact_name(entity.id) }}

{% if entity.attributes %} {% for key, value in entity.attributes.items() %}{% endfor %}
{{ key }}{% if value is string %}{{ fact_name(value) }}{% else %}{{ value }}{% endif %}
{% endif %}

{{ _("Found in") }}

{% if outgoing %}

{{ _("Points to") }}

{% endif %} {% if incoming %}

{{ _("Pointed to by") }}

{% endif %}
{% endblock %}