site/templates/project.html

12 lines
465 B
HTML

{% extends 'page.html' %}{% import "tests.html" as tests %}
{% block main %}
{{ super() }}
{% if page.extra.pipeline %}
{% if page.extra.pipeline in config.extra.tests.pipelines %}
{{ tests::pipeline(directory=config.extra.tests.directory, name=page.extra.pipeline) }}
{% else %}
<p>No such pipeline ({{ page.extra.pipeline }}) defined in config.extra.pipelines</p>
{% endif %}
{% endif %}
{% endblock %}