Source

tinpan / templates / integration / build.html

{% extends 'base.html' %}


{% block title %}{{ run.project.name }} - {% endblock title %}

{% block header %}
    /
    <a href="{% url project_detail slug=run.project.slug %}">{{ run.project.name }}</a>
    /
    <a href="{% url build_detail slug=run.project.slug,id=run.id %}">build</a>
{% endblock header %}

{% block content %}
    <p>
        Started at {{ run.start_time|date:"f A" }} on {{ run.start_time|date:"l, F jS Y" }} ({{ run.start_time|timesince }} ago).<br/>
        Finished at {{ run.end_time|date:"f A" }} on {{ run.end_time|date:"l, F jS Y" }} ({{ run.end_time|timesince }} ago).
    </p>
    
    <p>
        This build took
        {% if hours %}{{ hours }} hour{{ hours|pluralize }},{% endif %}
        {% if hours or minutes %}{{ minutes }} minute{{ minutes|pluralize }},{% endif %}
        {{ seconds }} second{{ seconds|pluralize }}
        to finish.
    </p>
    
    <p>The command used to build was: <code>{{ run.command }}</code></p>
    
    {% if not run.success %}
        <p>The output was:</p>
        
        <pre>{{ run.output }}</pre>
    {% endif %}
{% endblock content %}