{% extends "base.html" %} {% block title %}{{ _("Your system") }}{% endblock %} {% block content %}

{{ _("Your system") }}

{{ _("The repository's parts and how they connect, drawn from facts: nothing here is the assistant's guess.") }}

{% if diagram.rolled_up %}

{{ _("Too many parts to show one by one: libraries, then folders, are grouped, with the number of connections on each arrow. Every part is listed below.") }}

{% endif %} {% include "diagram.html" %} {% include "system_legend.html" %}

{{ _("Parts") }}

{% set headings = {"service": _("Services"), "app": _("Apps"), "library": _("Libraries"), "contract": _("Contracts"), "infrastructure": _("Infrastructure"), "platform": _("Platforms")} %} {% for kind, rows in parts %}

{{ headings.get(kind, kind) }}

{% for row in rows %} {% endfor %}
{{ _("Part") }}{{ _("Folder") }}{{ _("Depends on") }}{{ _("Called by") }}{{ _("Runs on") }}
{{ row.name }} {% if row.folder %}{{ row.folder }}/{% else %}—{% endif %} {{ row.depends_on | join(", ") or "—" }} {{ row.called_by | join(", ") or "—" }} {{ row.runs_on | join(", ") or "—" }}
{% endfor %}

{{ _("Why each arrow is there") }}

{% include "system_arrows.html" %}
{% endblock %}