| {#- |
| 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. |
| -#} |
| <tr> |
| <th>Short name</th> |
| <th>Full name</th> |
| <th>Registered</th> |
| <th>Deleted?</th> |
| {% for field in additional_display_fields %} |
| <th>{{ field }}</th> |
| {% endfor %} |
| <th>Details</th> |
| </tr> |
| |
| {% for p in objects %} |
| <tr> |
| <td><a href="{{ p['url'] }}">{{ p['shortname'] }}</a></td> |
| <td>{{ p['name'] }}</td> |
| <td>{{ h.ago_string(p['registration']) }}</td> |
| <td>{{ p['deleted'] }}</td> |
| {% for field in additional_display_fields %} |
| <td>{{ p[field] }}</td> |
| {% endfor %} |
| <td> |
| {% for url, label in provider.details_links(p['object']) %} |
| <a href="{{ url }}">{{ label }}</a><br> |
| {% endfor %} |
| </td> |
| </tr> |
| {% endfor %} |