1
0
mirror of https://github.com/bitwarden/server synced 2025-12-18 17:23:28 +00:00

[PM-18858] Security Task email plurality (#5588)

* use handlebars helper for plurality of text rather than logic within the template

* Remove `TaskCountPlural` - unused
This commit is contained in:
Nick Krantz
2025-04-02 15:18:53 -05:00
committed by GitHub
parent aef05f5fb6
commit 7b2b62e794
4 changed files with 26 additions and 10 deletions

View File

@@ -6,8 +6,6 @@ public class SecurityTaskNotificationViewModel : BaseMailModel
public int TaskCount { get; set; }
public bool TaskCountPlural => TaskCount != 1;
public List<string> AdminOwnerEmails { get; set; }
public string ReviewPasswordsUrl => $"{WebVaultUrl}/browser-extension-prompt";