Hi Guillaume,
Sorry for the wait, your template is a bit daunting
Date conditionals are almost ready for release! Your outer date logic will be difficult to replicate until then. I’ve gotten around this issue on some projects by formatting dates as YmdHi to turn them into integers and then using less_than or greater_than to test if they’re past or future relative to today but it’s very unwieldy so it’s worth waiting for the dedicated logic
As for the rest of your template:
<Loop type=user id=current>
<div>
<If field=dgr_dossier_user compare=includes value='{Field email}'>
do something
<Else />
do something
</If>
</div>
</Loop>
Here’s the documentation for our If tag and our User Loop.
I’ll follow up once the date conditional is released. I expect it will be soon!