feat(demo): add story 1 — Sorano: Rock and Time

This commit is contained in:
2026-06-20 21:19:57 +02:00
parent 42ed59a6b3
commit 8f87155c1d
5508 changed files with 1595740 additions and 124 deletions
@@ -0,0 +1,43 @@
{% extends 'email/base.html.twig' %}
{%- set subject = 'You\'ve been invited to ' ~ site_name %}
{%- do email.message.setSubject(subject) %}
{%- block content -%}
<h1>You're invited</h1>
<p>
Hi,
</p>
<p>
{{ actor ?: site_name }} has invited you to join <b>{{ site_name }}</b>.
</p>
{%- if message %}
<p style="white-space: pre-line;">{{ message }}</p>
{%- endif %}
<p>
Click the button below to set up your account and choose your password:
</p>
<p>
<br />
<a href="{{ invite_link }}" class="btn-primary">Accept invitation</a>
<br />
<br />
</p>
<p>
Or copy and paste this link into your browser's address bar:
</p>
<p class="word-break" style="word-break: break-all;">
<a href="{{ invite_link }}">{{ invite_link }}</a>
</p>
<p>
This invitation will expire soon, so please accept it promptly.
</p>
<p>
If you weren't expecting this invitation you can safely ignore this email.
</p>
<p>
<br />
{{ author ?: site_name }}
</p>
{%- endblock content -%}
@@ -0,0 +1,40 @@
{% extends 'email/base.html.twig' %}
{%- set subject = 'PLUGIN_LOGIN.FORGOT_EMAIL_SUBJECT'|t(site_name) %}
{%- do email.message.setSubject(subject) %}
{%- block content -%}
<h1>Password Reset</h1>
<p>
Hi {{ user.fullname ?? user.username }},
</p>
<p>
A password reset was requested for your admin account at <b>{{ site_name }}</b>.
</p>
<p>
Click the button below to choose a new password:
</p>
<p>
<br />
<a href="{{ reset_link }}" class="btn-primary">Reset my password</a>
<br />
<br />
</p>
<p>
Or copy and paste this link into your browser's address bar:
</p>
<p class="word-break" style="word-break: break-all;">
<a href="{{ reset_link }}">{{ reset_link }}</a>
</p>
<p>
This link will expire in 24 hours.
</p>
<p>
If you did not request this reset you can safely ignore this email — your password will not change.
</p>
<p>
<br />
{{ author ?: site_name }}
</p>
{%- endblock content -%}