blob: de1cbc846a70210ce6b7328ad296e8fc2b96a6ec (
plain)
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
39
40
41
42
43
44
45
46
47
48
49
50
51
|
{% extends "base.html" %}
{% block content %}
<form method="POST" action=".">
{{ form.hidden_tag() }}
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title">
<span class="fa fa-fw fa-users"></span>Known projects
</h3>
</div>
<div class="table-responsive">
<table class="table table-striped">
{% for item in form.maintainers if mapping[item.data].is_project -%}
{%- set maintainer = mapping[item.data] -%}
<tr>
<td>{{ item }}</td>
<td class="text-nowrap">{{ maintainer.email }}</td>
<td>{{ maintainer.name }}</td>
</tr>
{%- endfor %}
</table>
</div>
</div>
<div class="panel panel-default">
<div class="panel-heading">
<h3 class="panel-title">
<span class="fa fa-fw fa-user"></span>Known developers
</h3>
</div>
<div class="table-responsive">
<table class="table table-striped">
{% for item in form.maintainers if not mapping[item.data].is_project -%}
{%- set maintainer = mapping[item.data] -%}
<tr>
<td>{{ item }}</td>
<td class="text-nowrap">{{ maintainer.email }}</td>
<td>{{ maintainer.name }}</td>
</tr>
{%- endfor %}
</table>
</div>
</div>
<input type="submit" value="Save follows"/>
</form>
{% endblock %}
|