aboutsummaryrefslogtreecommitdiff
path: root/templates/ef/ordo.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/ef/ordo.html')
-rw-r--r--templates/ef/ordo.html15
1 files changed, 13 insertions, 2 deletions
diff --git a/templates/ef/ordo.html b/templates/ef/ordo.html
index c80a2a4..4936974 100644
--- a/templates/ef/ordo.html
+++ b/templates/ef/ordo.html
@@ -7,11 +7,21 @@
(Ordo, Epistle, Gospel, Commemoration) comes from the view's term
vocabulary rather than being written into this file, so a translated
booklet needs no template edit. -->
+<!-- Defect 2: HTML has no concept of a forced page break to begin with,
+ so this flavour was never one-week-per-page -- it mainly needed the
+ SAME header treatment the paginated flavours gained, for a reader
+ switching between them to find the same structure. Walks
+ months>weeks>days now (was months>days flat): an h2 per month
+ (unchanged) and a new h3 per week, using the week's own padded,
+ in-month-flagged day list rather than the month's flat, unpadded
+ one -- guarded accordingly below, the same guard every paginated
+ flavour's grid already needs for that field. -->
<!doctype html>
<html lang="la"><head><meta charset="utf-8">
<title>{{term.ordo}} {{year}}</title>
<style>
body{font-family:serif;max-width:40em;margin:2em auto;line-height:1.4}
+ h3{font-size:1em;border-top:1px solid #ccc;padding-top:.3em;margin-top:1.2em}
.day{margin:.6em 0;padding-left:2.5em;text-indent:-2.5em}
.dom{display:inline-block;width:2em;font-weight:bold}
.meta{font-size:.85em;color:#555}
@@ -22,10 +32,11 @@
</style></head><body>
<h1>{{term.ordo}} {{year}} &middot; {{rite_name}}</h1>
{{#months}}<h2>{{name}}</h2>
-{{#days}}<div class="day {{colour}}">
+{{#weeks}}<h3>{{term.week}} {{num}}</h3>
+{{#days}}{{#in_month}}<div class="day {{colour}}">
<span class="dom">{{dom}}</span>{{name}}
<div class="meta">{{rank}} &middot; {{colour}}{{#first}} &middot; {{term.epistle}} {{first}}{{/first}}{{#gospel}} &middot; {{term.gospel}} {{gospel}}{{/gospel}}</div>
{{#comms}}<div class="meta">{{term.commemoration}} {{name}}</div>{{/comms}}
</div>
-{{/days}}{{/months}}
+{{/in_month}}{{/days}}{{/weeks}}{{/months}}
</body></html>