-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathformations.html
More file actions
38 lines (36 loc) · 980 Bytes
/
formations.html
File metadata and controls
38 lines (36 loc) · 980 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
{% extends "web/base.html" %}
{% load humanize %}
{% block title %}Formations{% endblock %}
{% block content %}
<div class="pink">
<h1>{% if formations %}{{ formations|length|apnumber|capfirst }}{% else %}No{% endif %}
Formation{{ formations|pluralize }}</a></h1>
{% for formation in formations %}
<a name="formation.id"></a>
<div class="row-fluid well">
<div class="span3">
<h3>{{ formation.id }}</h3>
</div>
<div class="span6">
<dl class="dl-horizontal">
<dt>Updated</dt>
<dd>{{ formation.updated }}</dd>
<dt>Created</dt>
<dd>{{ formation.created }}</dd>
<dt>Owned by</dt>
<dd>{{ formation.owner }}</dd>
{% if domain %}
<dt>Domain</dt>
<dd>{{ formation.domain }}</dd>
{% endif %}
</dl>
</div>
<div class="span3">
{% for node in formation.nodes %}
{{ node }}
{% endfor %}
</div>
</div>
{% endfor %}
</div>
{% endblock %}