{% extends "squad/base.html" %}
{% load humanize %}
{% load squad %}

{% block content %}

{% with status=project.status %}

{% include "squad/project-nav.html" %}

{% if last_build %}
<h2>Last build - <a class="h2 text-primary" href="{% project_url last_build %}">{{last_build.version}}</a> {{last_build.datetime}} {{last_build.datetime|naturaltime}}</h2>
{% include "squad/_metadata.html" %}

<h2>Latest builds</h2>
{% include "squad/_builds_table.html" %}
{% endif %}

{% endwith %}
{% endblock %}

{% block javascript %}
<script>
$(document).ready(function(){
    $('[data-toggle="tooltip"]').tooltip();
});
</script>
{% endblock %}
