<feed xmlns='http://www.w3.org/2005/Atom'>
<title>cccms/app/views/content, branch master</title>
<subtitle>[no description]</subtitle>
<id>http://erdgeist.org/gitweb/cccms/atom?h=master</id>
<link rel='self' href='http://erdgeist.org/gitweb/cccms/atom?h=master'/>
<link rel='alternate' type='text/html' href='http://erdgeist.org/gitweb/cccms/'/>
<updated>2026-08-21T18:53:12Z</updated>
<entry>
<title>Add banner partials</title>
<updated>2026-08-21T18:53:12Z</updated>
<author>
<name>erdgeist</name>
<email>erdgeist@erdgeist.org</email>
</author>
<published>2026-08-21T18:53:12Z</published>
<link rel='alternate' type='text/html' href='http://erdgeist.org/gitweb/cccms/commit/?id=d75d8cc3e6e772a00b92c050e8dd3ee0b0dbcb94'/>
<id>urn:sha1:d75d8cc3e6e772a00b92c050e8dd3ee0b0dbcb94</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Don't display file icon in headline card, it's superflous</title>
<updated>2026-07-29T10:14:05Z</updated>
<author>
<name>erdgeist</name>
<email>erdgeist@erdgeist.org</email>
</author>
<published>2026-07-29T10:14:05Z</published>
<link rel='alternate' type='text/html' href='http://erdgeist.org/gitweb/cccms/commit/?id=e7189ea09ed6efb264f4f3d430702ae22884139d'/>
<id>urn:sha1:e7189ea09ed6efb264f4f3d430702ae22884139d</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Extract public-site strings to i18n</title>
<updated>2026-07-25T18:16:32Z</updated>
<author>
<name>erdgeist</name>
<email>erdgeist@erdgeist.org</email>
</author>
<published>2026-07-25T18:16:32Z</published>
<link rel='alternate' type='text/html' href='http://erdgeist.org/gitweb/cccms/commit/?id=f8ce323663debb22890ad1ed29f385b8b832abc6'/>
<id>urn:sha1:f8ce323663debb22890ad1ed29f385b8b832abc6</id>
<content type='text'>
The public views were never part of the admin extraction and were
broken in both directions: German visitors got "Featured", "Calendar"
and "Tags", English visitors got "Suchergebnisse für Suchbegriff:".
Also picks up the unlock-confirm message in link_helper, a straggler
from the revisions/menu_items batch, and drops two raw() calls in the
application layout in favour of link_to blocks.
</content>
</entry>
<entry>
<title>Restyle pdf headline cards</title>
<updated>2026-07-23T18:45:22Z</updated>
<author>
<name>erdgeist</name>
<email>erdgeist@erdgeist.org</email>
</author>
<published>2026-07-23T18:45:22Z</published>
<link rel='alternate' type='text/html' href='http://erdgeist.org/gitweb/cccms/commit/?id=87f3403dfcfa008070f69fe588e1e108c001fe27'/>
<id>urn:sha1:87f3403dfcfa008070f69fe588e1e108c001fe27</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Render PDF headlines as document cards, not lightbox images</title>
<updated>2026-07-21T21:17:56Z</updated>
<author>
<name>erdgeist</name>
<email>erdgeist@erdgeist.org</email>
</author>
<published>2026-07-21T21:17:56Z</published>
<link rel='alternate' type='text/html' href='http://erdgeist.org/gitweb/cccms/commit/?id=8f3f58e3010fa7c923b77b7d2050175890b58f9b'/>
<id>urn:sha1:8f3f58e3010fa7c923b77b7d2050175890b58f9b</id>
<content type='text'>
A starred PDF previously ran through the same crop-and-lightbox path
a photo does -- exactly the awkward treatment explicit headline
designation was meant to avoid. _headline_image.html.erb now branches
on @headline_asset.pdf?: a PDF renders as a linked card (a :medium
thumbnail, a file icon, its name), no gallery participation at all.
The existing image-headline and gallery-fallback logic is otherwise
unchanged, now scoped to an image-specific headline only.

Other attached PDFs -- headlined or not -- list below as plain links,
same reasoning as why non-headline photos still get a gallery
trigger: an attached document shouldn't go invisible just because
nothing's been starred yet.

headline_image's own render guard needed widening to cover a page
with PDFs attached but no images and no headline at all -- the one
case none of the existing conditions accounted for.
</content>
</entry>
<entry>
<title>Widen nodes#show to all attachments</title>
<updated>2026-07-21T20:25:08Z</updated>
<author>
<name>erdgeist</name>
<email>erdgeist@erdgeist.org</email>
</author>
<published>2026-07-21T20:25:08Z</published>
<link rel='alternate' type='text/html' href='http://erdgeist.org/gitweb/cccms/commit/?id=987c8224c7f1bafb84d5e284ff0093921b92f1a0'/>
<id>urn:sha1:987c8224c7f1bafb84d5e284ff0093921b92f1a0</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Render asset credit inside the gallery lightbox correctly</title>
<updated>2026-07-21T12:24:59Z</updated>
<author>
<name>erdgeist</name>
<email>erdgeist@erdgeist.org</email>
</author>
<published>2026-07-21T12:24:59Z</published>
<link rel='alternate' type='text/html' href='http://erdgeist.org/gitweb/cccms/commit/?id=c14683fe37fabe06082f43e8bf67debc4cca7297'/>
<id>urn:sha1:c14683fe37fabe06082f43e8bf67debc4cca7297</id>
<content type='text'>
GLightbox's own selector-based description feature never actually
resolved a selector in three different attempts -- literal text,
then a resolved-but-empty div, then apparently not firing at all
against the installed (unversioned) build. Replaced with a small
afterSlideLoad handler that reads a plain data-credit-selector
attribute and copies the real element's HTML into the slide's
description area directly, depending only on GLightbox handing back
a real DOM node per slide -- a much smaller contract than trusting
its own caption-resolution feature.

Renamed the credit div's class from glightbox-desc, since that name
is reserved by the library's own bundled CSS (display: none
!important) and can't be reliably overridden from here.

Also: distinguishes the credit line and the "N Bilder" caption from
ordinary body text (italic, muted, matching .author_and_date's
existing convention), and makes the lightbox's caption card follow
the site's light/dark toggle via Canvas/CanvasText, since the
library's bundled theme never adapts to it on its own.
</content>
</entry>
<entry>
<title>Make headline images explicit, add asset credits</title>
<updated>2026-07-20T17:45:43Z</updated>
<author>
<name>erdgeist</name>
<email>erdgeist@erdgeist.org</email>
</author>
<published>2026-07-20T17:45:43Z</published>
<link rel='alternate' type='text/html' href='http://erdgeist.org/gitweb/cccms/commit/?id=836308471f8d31ccdcdd3a5bd88bc76cc1c0831b'/>
<id>urn:sha1:836308471f8d31ccdcdd3a5bd88bc76cc1c0831b</id>
<content type='text'>
- related_assets gains a `headline` boolean (DB-enforced: at most one
  per page), replacing "first image by position" as the headline
  rule. A rake task backfills the current first image on every live
  head/draft, so nothing changes visually until an editor changes it.
- The image picker sidebar gets a star toggle reflecting the flag;
  the TinyMCE inline-image picker's badge now reads it too, instead
  of assuming position 0.
- No headline chosen (or none attached) now falls back to the
  gallery-count caption itself becoming the lightbox trigger, instead
  of the gallery being unreachable.
- Assets gain creator, source_url, and license_key (against a new
  config/asset_licenses.yml dictionary). asset_credit renders a
  degrading attribution line, reused as a hidden per-image glightbox
  caption so credit is one click away for every image, not only the
  headline's always-visible one.
- Fixed: asset thumbnails rendered unconditionally regardless of
  whether a real variant exists on disk. Asset#has_variant? checks
  file existence, not content type -- some legacy PDFs have real
  pre-rewrite thumbnails a content-type check would have hidden.
- assets#new/edit rebuilt onto the same node_description/node_content
  layout as assets#show, picking up the three new fields in the
  process.
</content>
</entry>
<entry>
<title>Add weekday abbreviation for open-today widget</title>
<updated>2026-07-03T01:22:02Z</updated>
<author>
<name>erdgeist</name>
<email>erdgeist@erdgeist.org</email>
</author>
<published>2026-07-03T01:22:02Z</published>
<link rel='alternate' type='text/html' href='http://erdgeist.org/gitweb/cccms/commit/?id=287569c9bbfdadae767254792cd2b53d0515d928'/>
<id>urn:sha1:287569c9bbfdadae767254792cd2b53d0515d928</id>
<content type='text'>
RruleHumanizer gains WEEKDAY_NAMES_ABBR (Mo/Di/Mi/...) alongside the
existing WEEKDAY_NAMES and WEEKDAY_NAMES_ADVERBIAL hashes, plus a
self.wday_abbr(time, locale) utility mapping a Time's wday to its
RFC5545 code and looking up the abbreviation - keeping RFC5545
vocabulary in one place rather than teaching ContentHelper about day
codes directly.

ContentHelper#weekday_abbr is a thin wrapper passing I18n.locale
through. The partial now renders "Fr 19:00" instead of just "19:00",
joined with a non-breaking space so the pair can't split across a
line wrap.

Takes an explicit Time rather than reading Date.today, matching this
file's existing style of passing state in rather than reading it
ambiently - and staying correct if the currently-unused
calendar/_front_page_calendar partial (spanning six weeks, not just
today) is ever revived and reuses this helper.
</content>
</entry>
<entry>
<title>Add 'open today' sidebar widget and open days in chapter lists</title>
<updated>2026-07-02T13:13:52Z</updated>
<author>
<name>erdgeist</name>
<email>erdgeist@erdgeist.org</email>
</author>
<published>2026-07-02T13:13:52Z</published>
<link rel='alternate' type='text/html' href='http://erdgeist.org/gitweb/cccms/commit/?id=175b408948e601d3db568768a309eed8f2edb307'/>
<id>urn:sha1:175b408948e601d3db568768a309eed8f2edb307</id>
<content type='text'>
- 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)
</content>
</entry>
</feed>
