@using HrynCo.NotificationService.Web.Controllers.Admin.ViewModels @model NotificationServiceEditViewModel @{ Layout = "~/Views/Shared/_EditorLayout.cshtml"; ViewData["Title"] = Model.IsNew ? "Create Service" : "Edit Service"; ViewData["EditorTitle"] = ViewData["Title"]; } @section Breadcrumbs { }
@Html.AntiForgeryToken()

Language codes

Codes are case-sensitive and belong to this service. Existing template versions use these codes when sending. Renaming a service or code changes sender lookup; update publishers to use the current names. Email channels remain linked to this service automatically.

@for (var i = 0; i < Model.Languages.Count; i++) { var countUnavailable = ViewData["LanguageCountsUnavailable"] is true && Model.Languages[i].Id != Guid.Empty; }
CodeVersionsActions
@(countUnavailable ? "Unavailable" : Model.Languages[i].VersionCount.ToString())
@if (!Model.IsNew && Model.Languages[i].Id != Guid.Empty) { Delete language and versions… }
@section FormActions { Cancel } @section Scripts { }