aboutsummaryrefslogtreecommitdiffstats
path: root/tmpl/user.html
blob: d3347385eff2355077b2c4b152ca3bb1ebcddd8b (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
[% SET login = users.$user.uid.0 %]
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>[% config.sitename %]: u/[% login %]</title>
    </head>
    <body>
        <h1>[% login %]</h1>
        <ul>
            <li>
            <b>Name</b>: [% users.$user.cn.0 %]
            </li>
            <li>
            <b>Login</b>: [% users.$user.uid.0 %]
            </li>
            <li>
            <b>Groups</b>:
            [% FOREACH group IN users.$user.groups %]
              <a href="../g/[% groups.$group.cn.0 %].html">[% groups.$group.cn.0 %]</a>
            [% END %]
            </li>
        </ul>
        [% IF maintdb.$login %]
        <h3>[% users.$user.cn.0 %] is maintaining [% maintdb.$login.size %] packages</h3>
        <ul>
            [% FOREACH pkg IN maintdb.$login %]
            <li>
                [% pkg %]
            </li>
            [% END %]
        </ul>
        [% END %]
    </body>
</html>