mirror of
https://github.com/bitwarden/server.git
synced 2025-04-04 20:50:21 -05:00
Fix logic in text handlebars template (#5542)
This commit is contained in:
parent
55980e8038
commit
d563f3f78a
@ -6,12 +6,14 @@ Launch the Bitwarden extension to review your at-risk passwords.
|
|||||||
|
|
||||||
Review at-risk passwords ({{{ReviewPasswordsUrl}}})
|
Review at-risk passwords ({{{ReviewPasswordsUrl}}})
|
||||||
|
|
||||||
{{#if (eq (length AdminOwnerEmails) 1)}}
|
{{#if AdminOwnerEmails.[0]}}
|
||||||
This request was initiated by {{AdminOwnerEmails.[0]}}.
|
{{#if AdminOwnerEmails.[1]}}
|
||||||
{{else}}
|
This request was initiated by
|
||||||
This request was initiated by
|
{{#each AdminOwnerEmails}}
|
||||||
{{#each AdminOwnerEmails}}
|
|
||||||
{{#if @last}}and {{/if}}{{this}}{{#unless @last}}, {{/unless}}
|
{{#if @last}}and {{/if}}{{this}}{{#unless @last}}, {{/unless}}
|
||||||
{{/each}}.
|
{{/each}}.
|
||||||
|
{{else}}
|
||||||
|
This request was initiated by {{AdminOwnerEmails.[0]}}.
|
||||||
|
{{/if}}
|
||||||
{{/if}}
|
{{/if}}
|
||||||
{{/SecurityTasksHtmlLayout}}
|
{{/SecurityTasksHtmlLayout}}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user