~ubuntu-branches/debian/stretch/zim/stretch

« back to all changes in this revision

Viewing changes to data/templates/wiki/Calendar.txt

  • Committer: Package Import Robot
  • Author(s): Raphaël Hertzog
  • Date: 2012-12-17 22:56:28 UTC
  • mfrom: (1.2.21)
  • Revision ID: package-import@ubuntu.com-20121217225628-yf4kwt76ycnbg3do
Tags: 0.58-1
* New upstream release.
* Update copyright file to be compliant with the final version of the
  copyright format.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
[% IF calendar_plugin.page_type == 'day' -%]
2
 
======= [% strftime("%A %d %b %Y", calendar_plugin.date) %] =======
3
 
 
4
 
[%- ELSIF calendar_plugin.page_type == 'week' -%]
5
 
======= [% strftime("Week %U %Y", calendar_plugin.date) %] =======
6
 
[% strftime("%d %B", calendar_plugin.date) %] to [% strftime("%d %B", calendar_plugin.end_date) %]
7
 
 
8
 
[% FOREACH day IN calendar_plugin.days() %]
9
 
=== [% strftime("%A %d %B", day) %] ===
10
 
 
11
 
[% END %] 
12
 
 
13
 
 
14
 
[%- ELSIF calendar_plugin.page_type == 'month' -%]
15
 
======= [% strftime("%B %Y", calendar_plugin.date) %] =======
16
 
 
17
 
[%- ELSIF calendar_plugin.page_type == 'year' -%]
18
 
======= Year [% strftime("%Y", calendar_plugin.date) %] =======
19
 
 
20
 
[%- ELSE -%]
21
 
======= [% page.basename %] =======
22
 
Created [% strftime("%A %d %B %Y") %]
23
 
 
24
 
[%- END %]