@using HrynCo.NotificationService.Web.Controllers.Admin.ViewModels @model EmailTemplateEditViewModel @{ Layout = "~/Views/Shared/_EditorLayout.cshtml"; ViewData["Title"] = Model.PageTitle; ViewData["EditorTitle"] = Model.PageTitle; var active = Math.Clamp(Model.ActiveLanguageIndex, 0, Math.Max(0, Model.Languages.Count - 1)); } @section Breadcrumbs { }
@Html.AntiForgeryToken()
Service
@Model.ServiceName
Email variables, shared across its languages: [{"name":"UserName","required":true}]

Every configured service language has a tab. Present and Missing show saved versions. Leave all three content fields blank for an unused language; clear them to remove an existing version. Shared variables and the template remain.

@if (Model.Languages.Count == 0) {

No service languages configured. You can save the key and shared variables now, then add language codes in Edit Service.

}
Selected language preview:
Sample values use the shared contract. External content is blocked in this preview.
Ready
Sample values
Rendered subject
Rendered HTML
Rendered text

            
@section FormActions { Cancel } @section Scripts { }