aboutsummaryrefslogtreecommitdiff
blob: 6ea857a06144255862eeb5c4ed185edf2d4b1269 (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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
{% 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-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 and mapping[item.data].email.endswith('@gentoo.org') -%}
      {%- set maintainer = mapping[item.data] -%}
      <tr>
        <td>{{ item }}</td>
        <td class="text-nowrap">{{ maintainer.email }}</td>
        <td>{{ maintainer.name|default('', True) }}</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-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|default('', True) }}</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 proxy maintainers
    </h3>
  </div>
  <div class="table-responsive">
    <table class="table table-striped">
      {% for item in form.maintainers if not mapping[item.data].is_project and not mapping[item.data].email.endswith('@gentoo.org') -%}
      {%- set maintainer = mapping[item.data] -%}
      <tr>
        <td>{{ item }}</td>
        <td class="text-nowrap">{{ maintainer.email }}</td>
        <td>{{ maintainer.name|default('', True) }}</td>
      </tr>
      {%- endfor %}
    </table>
  </div>
</div>

<input type="submit" class="btn btn-default" value="Save follows"/>

</form>

{% endblock %}