Skip to content

Commit

Permalink
fixup! feat: mail filters
Browse files Browse the repository at this point in the history
Signed-off-by: Daniel Kesselberg <[email protected]>
  • Loading branch information
kesselb committed Oct 9, 2024
1 parent d877e5e commit 34e8645
Showing 1 changed file with 18 additions and 12 deletions.
30 changes: 18 additions & 12 deletions src/components/mailFilter/UpdateModal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -21,18 +21,20 @@
<div class="filter-tests">
<h6>{{ t('mail', 'Tests') }}</h6>

<p>
{{ t('mail', 'Tests are applied to incoming emails on your mail server, targeting fields such as subject (the email\'s subject line), from (the sender), and to (the recipient). You can use the following operators to define conditions for these fields:') }}
</p>
<p>
<strong>is</strong>: {{ t('mail', 'An exact match. The field must be identical to the provided value.') }}
</p>
<p>
<strong>contains</strong>: {{ t('mail', 'A substring match. The field matches if the provided value is contained within it. For example, "report" would match "port".') }}
</p>
<p>
<strong>matches</strong>: {{ t('mail', 'A pattern match using wildcards. The "*" symbol represents any number of characters (including none), while "?" represents exactly one character. For example, "*report*" would match "Business report 2024".') }}
</p>
<div class="help-text">
<p>
{{ t('mail', 'Tests are applied to incoming emails on your mail server, targeting fields such as subject (the email\'s subject line), from (the sender), and to (the recipient). You can use the following operators to define conditions for these fields:') }}
</p>
<p>
<strong>is</strong>: {{ t('mail', 'An exact match. The field must be identical to the provided value.') }}
</p>
<p>
<strong>contains</strong>: {{ t('mail', 'A substring match. The field matches if the provided value is contained within it. For example, "report" would match "port".') }}
</p>
<p>
<strong>matches</strong>: {{ t('mail', 'A pattern match using wildcards. The "*" symbol represents any number of characters (including none), while "?" represents exactly one character. For example, "*report*" would match "Business report 2024".') }}
</p>
</div>

<Test v-for="test in clone.tests"
:key="test.id"
Expand Down Expand Up @@ -189,4 +191,8 @@ export default {
padding-right: 14px;
white-space: nowrap;
}
.help-text p {
margin-bottom: 0.2em;
}
</style>

0 comments on commit 34e8645

Please sign in to comment.