annotate 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
rev   line source
0
5568cf133caf create moin/2.0 repo, drop all history (see notes below)
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents:
diff changeset
1 {% extends theme("layout.html") %}
5568cf133caf create moin/2.0 repo, drop all history (see notes below)
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents:
diff changeset
2 {% import "utils.html" as utils %}
5568cf133caf create moin/2.0 repo, drop all history (see notes below)
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents:
diff changeset
3
5568cf133caf create moin/2.0 repo, drop all history (see notes below)
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents:
diff changeset
4 {% block head %}
5568cf133caf create moin/2.0 repo, drop all history (see notes below)
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents:
diff changeset
5 {{ super() }}
5568cf133caf create moin/2.0 repo, drop all history (see notes below)
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents:
diff changeset
6 <link rel="alternate" title="Global changes" href="{{ url_for('feed.atom') }}" type="application/atom+xml" />
5568cf133caf create moin/2.0 repo, drop all history (see notes below)
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents:
diff changeset
7 {% endblock %}
5568cf133caf create moin/2.0 repo, drop all history (see notes below)
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents:
diff changeset
8
5568cf133caf create moin/2.0 repo, drop all history (see notes below)
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents:
diff changeset
9 {% block content %}
5568cf133caf create moin/2.0 repo, drop all history (see notes below)
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents:
diff changeset
10 <h1>{{ _("Global History") }}</h1>
454
b07dfe4ceb8d Grouping of global history done on the date basis.
Akash Sinha <akash2607@gmail.com>
parents: 216
diff changeset
11 <div id="moin-global-history">
b07dfe4ceb8d Grouping of global history done on the date basis.
Akash Sinha <akash2607@gmail.com>
parents: 216
diff changeset
12 {% for rev_list in history %}
b07dfe4ceb8d Grouping of global history done on the date basis.
Akash Sinha <akash2607@gmail.com>
parents: 216
diff changeset
13 <div class="moin-history-container">
b07dfe4ceb8d Grouping of global history done on the date basis.
Akash Sinha <akash2607@gmail.com>
parents: 216
diff changeset
14 <h2 class="moin-history-container-header">{{ rev_list[0] }}</h2>
b07dfe4ceb8d Grouping of global history done on the date basis.
Akash Sinha <akash2607@gmail.com>
parents: 216
diff changeset
15 <div class="moin-history-container-body">
b07dfe4ceb8d Grouping of global history done on the date basis.
Akash Sinha <akash2607@gmail.com>
parents: 216
diff changeset
16 {% set rev_list = rev_list[1:] %}
b07dfe4ceb8d Grouping of global history done on the date basis.
Akash Sinha <akash2607@gmail.com>
parents: 216
diff changeset
17 <table>
b07dfe4ceb8d Grouping of global history done on the date basis.
Akash Sinha <akash2607@gmail.com>
parents: 216
diff changeset
18 {% for rev in rev_list %}
b07dfe4ceb8d Grouping of global history done on the date basis.
Akash Sinha <akash2607@gmail.com>
parents: 216
diff changeset
19 <tr>
b07dfe4ceb8d Grouping of global history done on the date basis.
Akash Sinha <akash2607@gmail.com>
parents: 216
diff changeset
20 <td class="moin-action moin-history-{{ rev.action|lower }}" title="{{ rev.action }}">&nbsp;</td>
b07dfe4ceb8d Grouping of global history done on the date basis.
Akash Sinha <akash2607@gmail.com>
parents: 216
diff changeset
21 <td class="moin-history-item"><a href="{{ url_for('frontend.show_item', item_name=rev.item.name) }}">{{ rev.item.name }}</a>
b07dfe4ceb8d Grouping of global history done on the date basis.
Akash Sinha <akash2607@gmail.com>
parents: 216
diff changeset
22 {% if rev.item.name != rev.name %} ({{ rev.name }}){% endif %}</td>
b07dfe4ceb8d Grouping of global history done on the date basis.
Akash Sinha <akash2607@gmail.com>
parents: 216
diff changeset
23 <td class="moin-history-time">{{ rev.timestamp|timeformat }}</td>
b07dfe4ceb8d Grouping of global history done on the date basis.
Akash Sinha <akash2607@gmail.com>
parents: 216
diff changeset
24 <td class="moin-integer">{{ rev.revno }}</td>
b07dfe4ceb8d Grouping of global history done on the date basis.
Akash Sinha <akash2607@gmail.com>
parents: 216
diff changeset
25 <td class="moin-wordbreak moin-history-contenttype">{{ rev.contenttype }}</td>
b07dfe4ceb8d Grouping of global history done on the date basis.
Akash Sinha <akash2607@gmail.com>
parents: 216
diff changeset
26 <td class="moin-wordbreak moin-history-editorinfo">{{ utils.editor_info(rev) }}</td>
b07dfe4ceb8d Grouping of global history done on the date basis.
Akash Sinha <akash2607@gmail.com>
parents: 216
diff changeset
27 <td class="moin-wordbreak moin-history-comment">{{ rev.comment }}</td>
b07dfe4ceb8d Grouping of global history done on the date basis.
Akash Sinha <akash2607@gmail.com>
parents: 216
diff changeset
28 </tr>
b07dfe4ceb8d Grouping of global history done on the date basis.
Akash Sinha <akash2607@gmail.com>
parents: 216
diff changeset
29 {% endfor %}
b07dfe4ceb8d Grouping of global history done on the date basis.
Akash Sinha <akash2607@gmail.com>
parents: 216
diff changeset
30 </table>
b07dfe4ceb8d Grouping of global history done on the date basis.
Akash Sinha <akash2607@gmail.com>
parents: 216
diff changeset
31 </div>
b07dfe4ceb8d Grouping of global history done on the date basis.
Akash Sinha <akash2607@gmail.com>
parents: 216
diff changeset
32 </div>
0
5568cf133caf create moin/2.0 repo, drop all history (see notes below)
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents:
diff changeset
33 {% endfor %}
454
b07dfe4ceb8d Grouping of global history done on the date basis.
Akash Sinha <akash2607@gmail.com>
parents: 216
diff changeset
34 </div>
0
5568cf133caf create moin/2.0 repo, drop all history (see notes below)
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents:
diff changeset
35 {% endblock %}