view MoinMoin/templates/global_history.html @ 454:b07dfe4ceb8d

Grouping of global history done on the date basis.
author Akash Sinha <akash2607@gmail.com>
date Tue, 31 May 2011 00:58:29 +0530
parents 661a57c747bd
children f1f88b7b17fa
line wrap: on
line source
{% extends theme("layout.html") %}
{% import "utils.html" as utils %}

{% block head %}
{{ super() }}
<link rel="alternate" title="Global changes" href="{{ url_for('feed.atom') }}" type="application/atom+xml" />
{% endblock %}

{% block content %}
<h1>{{ _("Global History") }}</h1>
    <div id="moin-global-history">
        {% for rev_list in history %}
            <div class="moin-history-container"> 
                <h2 class="moin-history-container-header">{{ rev_list[0] }}</h2>
                <div class="moin-history-container-body">
                    {% set rev_list = rev_list[1:] %}
                    <table>
                    {% for rev in rev_list %}
                     <tr>
                         <td class="moin-action moin-history-{{ rev.action|lower }}" title="{{ rev.action }}">&nbsp;</td>
                         <td class="moin-history-item"><a href="{{ url_for('frontend.show_item', item_name=rev.item.name) }}">{{ rev.item.name }}</a>
                             {% if rev.item.name != rev.name %} ({{ rev.name }}){% endif %}</td>
                         <td class="moin-history-time">{{ rev.timestamp|timeformat }}</td>
                         <td class="moin-integer">{{ rev.revno }}</td>
                         <td class="moin-wordbreak moin-history-contenttype">{{ rev.contenttype }}</td>
                         <td class="moin-wordbreak moin-history-editorinfo">{{ utils.editor_info(rev) }}</td>
                         <td class="moin-wordbreak moin-history-comment">{{ rev.comment }}</td>
                     </tr>
                    {% endfor %}
                    </table>
                </div>
            </div>
        {% endfor %}
    </div>
{% endblock %}