annotate MoinMoin/templates/global_history.html @ 2761:31628ac3ec21

mass correction of indentation on many templates
author RogerHaase <haaserd@gmail.com>
date Sun, 24 Aug 2014 08:39:32 -0700
parents 37cf0c227a6e
children 2fd94be4b50c caf95e12acbb
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 %}
2761
31628ac3ec21 mass correction of indentation on many templates
RogerHaase <haaserd@gmail.com>
parents: 2753
diff changeset
5 {{ super() }}
31628ac3ec21 mass correction of indentation on many templates
RogerHaase <haaserd@gmail.com>
parents: 2753
diff changeset
6 <link rel="alternate" title="Global History" href="{{ url_for('feed.atom') }}" type="application/atom+xml" />
0
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 %}
2761
31628ac3ec21 mass correction of indentation on many templates
RogerHaase <haaserd@gmail.com>
parents: 2753
diff changeset
10 <h1>{{ _("Global History") }}</h1>
31628ac3ec21 mass correction of indentation on many templates
RogerHaase <haaserd@gmail.com>
parents: 2753
diff changeset
11 <div class='moin-clr'></div>
454
b07dfe4ceb8d Grouping of global history done on the date basis.
Akash Sinha <akash2607@gmail.com>
parents: 216
diff changeset
12 <div id="moin-global-history">
918
764f209d1eae simplify global history (and make it faster), bookmark changes for diff and history
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents: 905
diff changeset
13 {% for day, revs in history %}
764f209d1eae simplify global history (and make it faster), bookmark changes for diff and history
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents: 905
diff changeset
14 {% set latest_timestamp = revs[0].meta['mtime'] %}
1364
582e7109a8c1 mass update - delete trailing spaces and/or add blank line to end of file
Roger Haase <crosseyedpenguin@yahoo.com>
parents: 1117
diff changeset
15 <div class="moin-history-container">
465
3076415fdaba Bookmark functionality added for the global history results
Akash Sinha <akash2607@gmail.com>
parents: 464
diff changeset
16 <div class="moin-history-container-header">
1117
f2d8c602dbb6 Improved table style to be more consistent. Fixes #13.
Julian Brost <julian.brost@googlemail.com>
parents: 918
diff changeset
17 <h2>{{ day }}</h2>
f2d8c602dbb6 Improved table style to be more consistent. Fixes #13.
Julian Brost <julian.brost@googlemail.com>
parents: 918
diff changeset
18 {% if user.valid %}
2761
31628ac3ec21 mass correction of indentation on many templates
RogerHaase <haaserd@gmail.com>
parents: 2753
diff changeset
19 <a class="bookmark-link btn btn-primary" href="{{ url_for('frontend.bookmark', time=latest_timestamp+1) }}">{{ _("Set bookmark") }}</a>
1117
f2d8c602dbb6 Improved table style to be more consistent. Fixes #13.
Julian Brost <julian.brost@googlemail.com>
parents: 918
diff changeset
20 {% endif %}
465
3076415fdaba Bookmark functionality added for the global history results
Akash Sinha <akash2607@gmail.com>
parents: 464
diff changeset
21 </div>
454
b07dfe4ceb8d Grouping of global history done on the date basis.
Akash Sinha <akash2607@gmail.com>
parents: 216
diff changeset
22 <div class="moin-history-container-body">
2701
8d8a01710ca8 Improved Global History view in basic theme
Ajitesh Gupta <ajgupta93@gmail.com>
parents: 2685
diff changeset
23 <table class="zebra table table-hover">
2761
31628ac3ec21 mass correction of indentation on many templates
RogerHaase <haaserd@gmail.com>
parents: 2753
diff changeset
24 {% for rev in revs %}
31628ac3ec21 mass correction of indentation on many templates
RogerHaase <haaserd@gmail.com>
parents: 2753
diff changeset
25 {% set meta = rev.meta %}
31628ac3ec21 mass correction of indentation on many templates
RogerHaase <haaserd@gmail.com>
parents: 2753
diff changeset
26 <tr>
31628ac3ec21 mass correction of indentation on many templates
RogerHaase <haaserd@gmail.com>
parents: 2753
diff changeset
27 <td class="moin-action col-md-1">
31628ac3ec21 mass correction of indentation on many templates
RogerHaase <haaserd@gmail.com>
parents: 2753
diff changeset
28 <span title="{{ meta.action|title }}" class="moin-history-{{ meta.action|lower }}"></span>
31628ac3ec21 mass correction of indentation on many templates
RogerHaase <haaserd@gmail.com>
parents: 2753
diff changeset
29 </td>
31628ac3ec21 mass correction of indentation on many templates
RogerHaase <haaserd@gmail.com>
parents: 2753
diff changeset
30 <td class="moin-history-links col-md-1">
31628ac3ec21 mass correction of indentation on many templates
RogerHaase <haaserd@gmail.com>
parents: 2753
diff changeset
31 <a href="{{ url_for('frontend.history', item_name=rev.fqname, bookmark=bookmark_time) }}">HIST</a>
31628ac3ec21 mass correction of indentation on many templates
RogerHaase <haaserd@gmail.com>
parents: 2753
diff changeset
32 {% if bookmark_time -%}
31628ac3ec21 mass correction of indentation on many templates
RogerHaase <haaserd@gmail.com>
parents: 2753
diff changeset
33 <a href="{{ url_for('frontend.diff', item_name=rev.fqname, bookmark=bookmark_time) }}">DIFF</a>
31628ac3ec21 mass correction of indentation on many templates
RogerHaase <haaserd@gmail.com>
parents: 2753
diff changeset
34 {%- endif %}
31628ac3ec21 mass correction of indentation on many templates
RogerHaase <haaserd@gmail.com>
parents: 2753
diff changeset
35 </td>
31628ac3ec21 mass correction of indentation on many templates
RogerHaase <haaserd@gmail.com>
parents: 2753
diff changeset
36 <td class="moin-history-time col-md-1">{{ meta.mtime|timeformat }}</td>
31628ac3ec21 mass correction of indentation on many templates
RogerHaase <haaserd@gmail.com>
parents: 2753
diff changeset
37 <td class="moin-history-item col-md-7">
31628ac3ec21 mass correction of indentation on many templates
RogerHaase <haaserd@gmail.com>
parents: 2753
diff changeset
38 <a class="{{ meta.contenttype|contenttype_to_class }}" href="{{ url_for('frontend.show_item', item_name=rev.fqname) }}" title="{{ meta.contenttype }}">
31628ac3ec21 mass correction of indentation on many templates
RogerHaase <haaserd@gmail.com>
parents: 2753
diff changeset
39 {% if meta.name %}
31628ac3ec21 mass correction of indentation on many templates
RogerHaase <haaserd@gmail.com>
parents: 2753
diff changeset
40 {{ meta.name|join(' | ') }}
31628ac3ec21 mass correction of indentation on many templates
RogerHaase <haaserd@gmail.com>
parents: 2753
diff changeset
41 {% elif meta.summary %}
31628ac3ec21 mass correction of indentation on many templates
RogerHaase <haaserd@gmail.com>
parents: 2753
diff changeset
42 {{ meta.summary }}
31628ac3ec21 mass correction of indentation on many templates
RogerHaase <haaserd@gmail.com>
parents: 2753
diff changeset
43 {% else %}
31628ac3ec21 mass correction of indentation on many templates
RogerHaase <haaserd@gmail.com>
parents: 2753
diff changeset
44 {{ rev.fqname|shorten_fqname }}
31628ac3ec21 mass correction of indentation on many templates
RogerHaase <haaserd@gmail.com>
parents: 2753
diff changeset
45 {% endif %}
31628ac3ec21 mass correction of indentation on many templates
RogerHaase <haaserd@gmail.com>
parents: 2753
diff changeset
46 </a>
31628ac3ec21 mass correction of indentation on many templates
RogerHaase <haaserd@gmail.com>
parents: 2753
diff changeset
47 </td>
31628ac3ec21 mass correction of indentation on many templates
RogerHaase <haaserd@gmail.com>
parents: 2753
diff changeset
48 </tr>
31628ac3ec21 mass correction of indentation on many templates
RogerHaase <haaserd@gmail.com>
parents: 2753
diff changeset
49 {% endfor %}
454
b07dfe4ceb8d Grouping of global history done on the date basis.
Akash Sinha <akash2607@gmail.com>
parents: 216
diff changeset
50 </table>
b07dfe4ceb8d Grouping of global history done on the date basis.
Akash Sinha <akash2607@gmail.com>
parents: 216
diff changeset
51 </div>
b07dfe4ceb8d Grouping of global history done on the date basis.
Akash Sinha <akash2607@gmail.com>
parents: 216
diff changeset
52 </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
53 {% endfor %}
918
764f209d1eae simplify global history (and make it faster), bookmark changes for diff and history
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents: 905
diff changeset
54 {% if bookmark_time %}
2761
31628ac3ec21 mass correction of indentation on many templates
RogerHaase <haaserd@gmail.com>
parents: 2753
diff changeset
55 <div class="moin-history-container">
31628ac3ec21 mass correction of indentation on many templates
RogerHaase <haaserd@gmail.com>
parents: 2753
diff changeset
56 <div class="moin-history-container-header">
31628ac3ec21 mass correction of indentation on many templates
RogerHaase <haaserd@gmail.com>
parents: 2753
diff changeset
57 <h2>{{ bookmark_time|datetimeformat }}</h2>
31628ac3ec21 mass correction of indentation on many templates
RogerHaase <haaserd@gmail.com>
parents: 2753
diff changeset
58 <a class="bookmark-link" href="{{ url_for('frontend.bookmark', time='del') }}">{{ _("Delete bookmark") }}</a>
31628ac3ec21 mass correction of indentation on many templates
RogerHaase <haaserd@gmail.com>
parents: 2753
diff changeset
59 </div>
771
e5b51d4304c8 global history: render the bookmark in same way as the day headers
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents: 770
diff changeset
60 </div>
e5b51d4304c8 global history: render the bookmark in same way as the day headers
Thomas Waldmann <tw AT waldmann-edv DOT de>
parents: 770
diff changeset
61 {% endif %}
454
b07dfe4ceb8d Grouping of global history done on the date basis.
Akash Sinha <akash2607@gmail.com>
parents: 216
diff changeset
62 </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
63 {% endblock %}