diff options
| author | erdgeist <erdgeist@erdgeist.org> | 2026-07-02 15:13:52 +0200 |
|---|---|---|
| committer | erdgeist <erdgeist@erdgeist.org> | 2026-07-02 15:13:52 +0200 |
| commit | 175b408948e601d3db568768a309eed8f2edb307 (patch) | |
| tree | eef1106f7fb857d26d08aa7fb9055d3c25ad207e /app/views/layouts | |
| parent | 9a3274345dc83096a9bdea612ec77cb2406fef21 (diff) | |
Add 'open today' sidebar widget and open days in chapter lists
- open_erfas_today helper: samples 3 random open-day-tagged occurrences
of the current day; widget hidden entirely on days without open
chapters; heading shows current weekday
- content/_open_erfas_today partial rendered in right column above
tags and featured articles
- _chapter partial: open-day schedules (event_schedule_text) shown
inline in aggregated chapter lists with 'Offene Tage' label
- ccc.css: open_erfas_today added to existing right-column widget
selector groups (headings, lists, links)
Diffstat (limited to 'app/views/layouts')
| -rw-r--r-- | app/views/layouts/application.html.erb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/views/layouts/application.html.erb b/app/views/layouts/application.html.erb index edab5fc..57d12e6 100644 --- a/app/views/layouts/application.html.erb +++ b/app/views/layouts/application.html.erb | |||
| @@ -72,6 +72,7 @@ | |||
| 72 | </div> | 72 | </div> |
| 73 | </div> | 73 | </div> |
| 74 | <div id="right_column"> | 74 | <div id="right_column"> |
| 75 | <%= open_erfas_today %> | ||
| 75 | <%= tags %> | 76 | <%= tags %> |
| 76 | <%= featured_articles %> | 77 | <%= featured_articles %> |
| 77 | </div> | 78 | </div> |
