| <?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">departments.title</i18n:text></title> |
| <authors> |
| <person name="Jeremy Quinn" email="jeremy@apache.org"/> |
| </authors> |
| <subtitle>A list of departments in the Addressbook</subtitle> |
| <abstract>LDAP Entries</abstract> |
| </header> |
| |
| <body> |
| <section> |
| <title><i18n:text i18n:catalogue="local">departments.title</i18n:text></title> |
| <jx:choose> |
| <jx:when test="${departments!=null}"> |
| <table> |
| <jx:forEach var="department" items="${departments}"> |
| <tr> |
| <td><a href="people.html?dn=${department}"><i18n:text i18n:catalogue="local">${department}</i18n:text></a></td> |
| <td class="plain">${department}</td> |
| </tr> |
| </jx:forEach> |
| </table> |
| </jx:when> |
| <jx:otherwise> |
| <i18n:text i18n:catalogue="local">departments.none</i18n:text> |
| </jx:otherwise> |
| </jx:choose> |
| </section> |
| </body> |
| </document> |
| |