summaryrefslogtreecommitdiffstats
path: root/ui/html/pages/persons_list.tmpl.html
blob: 87689df6d086ea2acedecc3c4d0c1c76b4f94d45 (plain) (blame)
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
{{ define "title" }}Operations{{end}}


{{ define "main" }}
<h3>People <span><a href="#" class="admin-link">[Admin]</a></span></h3>

{{if .Persons}}
    <table id="home-summary-table">
        <thead>
            <tr id="header-row">
                <th>First Name</th>
                <th>Last Name</th>
                <th>Organisation</th>
                <th>Role</th>
            </tr>
        </thead>
        <tbody>
            {{range .Persons }}
            <tr>
                <td>{{.FirstName}}</td>
                <td>{{.LastName}}</td>
                <td>{{.OrganisationName}}</td>
                <td>{{.RoleName}}</td>
            </tr>
            {{end}}
        </tbody>
    </table>
{{else}}
<p>There are no operations.</p>
{{end}}

{{ end }}