aboutsummaryrefslogtreecommitdiffstats
path: root/tmpl/user.html
blob: d8f042b99130507a78a3b655c05fc6a56655475f (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
[% 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>
        [%- INCLUDE head.html -%]
    </head>
    <body>
        [%- INCLUDE body_top.html -%]
        <h1 id='mgnavt'><a href="../index.html">[% config.sitename %]</a> » <a href="index.html">users</a> » [% login %]</h1>
        <div class='content'>
            <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>
                  <a href="[% config.package_url %][% pkg %][% config.package_url_suffix %]">[% pkg %]</a>
                </li>
                [% END %]
            </ul>
            [% END %]
        </div>
    </body>
</html>