fix: email template

This commit is contained in:
lyzno1 2025-11-12 14:04:30 +08:00
parent 404240baf9
commit 494f6b06e1
No known key found for this signature in database
8 changed files with 67 additions and 19 deletions

View File

@ -112,8 +112,8 @@
<h1 class="title">Youve reached your trigger events limit</h1>
<div class="body-group">
<p class="body-text">
Your workspace <strong>{{workspaceName}}</strong> has used all available <strong>Trigger Events</strong> for the
<strong>{{planName}} Plan (limit: {{planLimit}})</strong>.
Your workspace <strong>{{workspaceName}}</strong> has used all available <strong>{{usageScope | default('Trigger Events')}}</strong> for the
<strong>{{planName}} Plan (limit: {{planLimit}})</strong>.
</p>
<p class="body-text">
Workflows triggered by <strong>{{triggerSources}}</strong> events have been temporarily paused.
@ -124,7 +124,13 @@
</div>
<a class="cta" href="{{upgradeUrl}}" target="_blank" rel="noopener noreferrer">{{ctaLabel}}</a>
<p class="note">
<strong>Trigger Events</strong> for the <strong>{{planName}} Plan</strong> <strong>{{resetDescription}}</strong>.
<strong>
{% if resetLine is defined %}
{{ resetLine }}
{% else %}
Trigger Events for the {{planName}} Plan {{resetDescription}}
{% endif %}
</strong>
</p>
</div>
</div>

View File

@ -112,7 +112,7 @@
<h1 class="title">您的触发事件额度已用尽</h1>
<div class="body-group">
<p class="body-text">
您的工作区 <strong>{{workspaceName}}</strong> 已用完 <strong>触发事件额度</strong>,并耗尽
您的工作区 <strong>{{workspaceName}}</strong> 已用完 <strong>{{usageScope | default('触发事件额度')}}</strong>,并耗尽
<strong>{{planName}} 计划(上限:{{planLimit}}</strong> 的全部额度。
</p>
<p class="body-text">
@ -124,7 +124,13 @@
</div>
<a class="cta" href="{{upgradeUrl}}" target="_blank" rel="noopener noreferrer">{{ctaLabel}}</a>
<p class="note">
<strong>{{planName}} 计划的触发事件额度{{resetDescription}}</strong>
<strong>
{% if resetLine is defined %}
{{ resetLine }}
{% else %}
{{planName}} 计划的触发事件额度{{resetDescription}}
{% endif %}
</strong>
</p>
</div>
</div>

View File

@ -125,7 +125,13 @@
</div>
<a class="cta" href="{{upgradeUrl}}" target="_blank" rel="noopener noreferrer">{{ctaLabel}}</a>
<p class="note">
<strong>Trigger Events</strong> for the <strong>{{planName}} Plan</strong> <strong>{{resetDescription}}</strong>.
<strong>
{% if resetLine is defined %}
{{ resetLine }}
{% else %}
Trigger Events for the {{planName}} Plan {{resetDescription}}
{% endif %}
</strong>
</p>
</div>
</div>

View File

@ -124,7 +124,13 @@
</div>
<a class="cta" href="{{upgradeUrl}}" target="_blank" rel="noopener noreferrer">{{ctaLabel}}</a>
<p class="note">
<strong>{{planName}} 计划的触发事件额度{{resetDescription}}</strong>
<strong>
{% if resetLine is defined %}
{{ resetLine }}
{% else %}
{{planName}} 计划的触发事件额度{{resetDescription}}
{% endif %}
</strong>
</p>
</div>
</div>

View File

@ -109,10 +109,10 @@
<div class="card-content">
<h1 class="title">Youve reached your trigger events limit</h1>
<div class="body-group">
<p class="body-text">
Your workspace <strong>{{workspaceName}}</strong> has used all available <strong>Trigger Events</strong> for the
<strong>{{planName}} Plan (limit: {{planLimit}})</strong>.
</p>
<p class="body-text">
Your workspace <strong>{{workspaceName}}</strong> has used all available <strong>{{usageScope | default('Trigger Events')}}</strong> for the
<strong>{{planName}} Plan (limit: {{planLimit}})</strong>.
</p>
<p class="body-text">
Workflows triggered by <strong>{{triggerSources}}</strong> events have been temporarily paused.
</p>
@ -122,7 +122,13 @@
</div>
<a class="cta" href="{{upgradeUrl}}" target="_blank" rel="noopener noreferrer">{{ctaLabel}}</a>
<p class="note">
<strong>Trigger Events</strong> for the <strong>{{planName}} Plan</strong> <strong>{{resetDescription}}</strong>.
<strong>
{% if resetLine is defined %}
{{ resetLine }}
{% else %}
Trigger Events for the {{planName}} Plan {{resetDescription}}
{% endif %}
</strong>
</p>
</div>
</div>

View File

@ -109,10 +109,10 @@
<div class="card-content">
<h1 class="title">您的触发事件额度已用尽</h1>
<div class="body-group">
<p class="body-text">
您的工作区 <strong>{{workspaceName}}</strong> 已用完 <strong>触发事件额度</strong>,并耗尽
<strong>{{planName}} 计划(上限:{{planLimit}}</strong> 的全部额度。
</p>
<p class="body-text">
您的工作区 <strong>{{workspaceName}}</strong> 已用完 <strong>{{usageScope | default('触发事件额度')}}</strong>,并耗尽
<strong>{{planName}} 计划(上限:{{planLimit}}</strong> 的全部额度。
</p>
<p class="body-text">
<strong>{{triggerSources}}</strong> 触发的工作流已被暂时暂停。
</p>
@ -122,7 +122,13 @@
</div>
<a class="cta" href="{{upgradeUrl}}" target="_blank" rel="noopener noreferrer">{{ctaLabel}}</a>
<p class="note">
<strong>{{planName}} 计划的触发事件额度{{resetDescription}}</strong>
<strong>
{% if resetLine is defined %}
{{ resetLine }}
{% else %}
{{planName}} 计划的触发事件额度{{resetDescription}}
{% endif %}
</strong>
</p>
</div>
</div>

View File

@ -118,7 +118,13 @@
</div>
<a class="cta" href="{{upgradeUrl}}" target="_blank" rel="noopener noreferrer">{{ctaLabel}}</a>
<p class="note">
<strong>Trigger Events</strong> for the <strong>{{planName}} Plan</strong> <strong>{{resetDescription}}</strong>.
<strong>
{% if resetLine is defined %}
{{ resetLine }}
{% else %}
Trigger Events for the {{planName}} Plan {{resetDescription}}
{% endif %}
</strong>
</p>
</div>
</div>

View File

@ -117,7 +117,13 @@
</div>
<a class="cta" href="{{upgradeUrl}}" target="_blank" rel="noopener noreferrer">{{ctaLabel}}</a>
<p class="note">
<strong>{{planName}} 计划的触发事件额度{{resetDescription}}</strong>
<strong>
{% if resetLine is defined %}
{{ resetLine }}
{% else %}
{{planName}} 计划的触发事件额度{{resetDescription}}
{% endif %}
</strong>
</p>
</div>
</div>