mirror of
https://github.com/bitwarden/server.git
synced 2025-04-04 12:40:22 -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}}})
|
||||
|
||||
{{#if (eq (length AdminOwnerEmails) 1)}}
|
||||
This request was initiated by {{AdminOwnerEmails.[0]}}.
|
||||
{{else}}
|
||||
This request was initiated by
|
||||
{{#each AdminOwnerEmails}}
|
||||
{{#if @last}}and {{/if}}{{this}}{{#unless @last}}, {{/unless}}
|
||||
{{/each}}.
|
||||
{{#if AdminOwnerEmails.[0]}}
|
||||
{{#if AdminOwnerEmails.[1]}}
|
||||
This request was initiated by
|
||||
{{#each AdminOwnerEmails}}
|
||||
{{#if @last}}and {{/if}}{{this}}{{#unless @last}}, {{/unless}}
|
||||
{{/each}}.
|
||||
{{else}}
|
||||
This request was initiated by {{AdminOwnerEmails.[0]}}.
|
||||
{{/if}}
|
||||
{{/if}}
|
||||
{{/SecurityTasksHtmlLayout}}
|
||||
|
Loading…
x
Reference in New Issue
Block a user