{#- 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. -#} {% extends 'forgewiki:templates/wiki/master.html' %} {% from 'allura:templates/jinja_master/lib.html' import abbr_date with context %} {% import 'allura:templates/jinja_master/dialog_macros.html' as dialog_macros with context %} {% block title %}{{c.project.name}} / {{c.app.config.options.mount_label}} / {{title}}{% endblock %} {% block header %}{{title}}{% endblock %} {% block actions %} {{ g.icons['eye'].render(href='.', title='View Page') }} {% endblock %} {% block wiki_content %} {{c.page_size.display(limit=limit,count=count,page=page)}}
{% for p in pages %} {% endfor %}
Version Date V1 V2  
{{ p.version }} by {{ p.author.username }} {{abbr_date(p.mod_date)}} {% if not loop.first and h.has_access(p, 'edit')() %} {{ g.icons['revert'].render( extra_css='post-link', title='Revert to version {}'.format(p.version), **{'data-dialog-id': p.version}) }} {{ dialog_macros.revert_confirmation_dialog(p.version) }} {% endif %} {{ g.icons['eye'].render(href='./?version={}'.format(p.version), title='View Revision') }}
{{c.page_list.display(limit=limit, page=page, count=count)}} {{c.confirmation.display(content='')}} {% endblock %}