| <?xml version="1.0" encoding="utf-8"?> |
| <!-- |
| Licensed to the Apache Software Foundation (ASF) under one or more |
| contributor license agreements. See the NOTICE file distributed with |
| this work for additional information regarding copyright ownership. |
| The ASF licenses this file to You under the Apache License, Version 2.0 |
| (the "License"); you may not use this file except in compliance with |
| the License. You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, software |
| distributed under the License is distributed on an "AS IS" BASIS, |
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| See the License for the specific language governing permissions and |
| limitations under the License. |
| --> |
| <document |
| xmlns:jx="http://apache.org/cocoon/templates/jx/1.0" |
| xmlns:i18n="http://apache.org/cocoon/i18n/2.1" |
| > |
| |
| <header> |
| <title><i18n:text i18n:catalogue="local">people.title</i18n:text></title> |
| <authors> |
| <person name="Jeremy Quinn" email="jeremy@apache.org"/> |
| </authors> |
| <subtitle>A list of people in the Addressbook</subtitle> |
| <abstract>LDAP Entries</abstract> |
| </header> |
| |
| <body> |
| <section> |
| <title><i18n:text i18n:catalogue="local">people.title</i18n:text></title> |
| <p><i18n:text i18n:catalogue="local">department.title</i18n:text>: <b><i18n:text i18n:catalogue="local">${department}</i18n:text></b> (<a href="index.html"><i18n:text i18n:catalogue="local">more.departments.title</i18n:text></a>)</p> |
| <jx:choose> |
| <jx:when test="${people!=null}"> |
| <table class="people"> |
| <jx:forEach var="person" items="${people}"> |
| <tr> |
| <th><a href="person.html?dn=${person.uid}">${person.firstname} ${person.lastname}</a></th> |
| <td><a href="mailto:${person.email}">${person.email}</a></td> |
| <td class="plain">${person.uid}</td> |
| </tr> |
| </jx:forEach> |
| </table> |
| </jx:when> |
| <jx:otherwise> |
| <i18n:text i18n:catalogue="local">people.none</i18n:text> |
| </jx:otherwise> |
| </jx:choose> |
| <p><a href="newperson.html?dn=${department}"><i18n:text i18n:catalogue="local">add.person.title</i18n:text></a></p> |
| </section> |
| </body> |
| </document> |
| |