The PR is still wip, without tests. There are some changes since we last discussed, most importanty that I ended up adding templates/preprocesses only for the bundles that are shipped by oe_agenda, and I don't override the general entity templates. I think it's cleaner like this, because we use bundle fields in all the templates.
This affected the session templates a bit, so now I don't have a oe-agenda-session.html.twig that the oe-default and oe-break templates are extending, instead the oe-break template extends the oe-default (but otherwise the idea is the same). Let me know what you think, I will add comments to the code where I have something to say.
Hi @brummbar,
The PR is still wip, without tests. There are some changes since we last discussed, most importanty that I ended up adding templates/preprocesses only for the bundles that are shipped by oe_agenda, and I don't override the general entity templates. I think it's cleaner like this, because we use bundle fields in all the templates.
This affected the session templates a bit, so now I don't have a
oe-agenda-session.html.twig
that theoe-default
andoe-break
templates are extending, instead theoe-break
template extends theoe-default
(but otherwise the idea is the same). Let me know what you think, I will add comments to the code where I have something to say.