refactor: channel holds delivery config only — remove AppDisplayName, AppBaseUrl

- SmtpChannelSettings: Host, Port, Username, Password, UseSsl, FromEmail, FromName only
- AppDisplayName and AppBaseUrl moved to template variables (payload responsibility)
- Updated ViewModel, controller Save/Edit mapping, and Edit view accordingly

Ref: IT-628

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
Anatolii Grynchuk
2026-05-02 03:08:12 +03:00
parent 61ccf9c777
commit 2b272e989b
4 changed files with 8 additions and 34 deletions
@@ -117,19 +117,6 @@
</div>
</div>
<div class="row mb-4">
<div class="col-md-6">
<label asp-for="AppDisplayName" class="form-label fw-semibold">App Display Name</label>
<input asp-for="AppDisplayName" class="form-control" />
<span asp-validation-for="AppDisplayName" class="text-danger small"></span>
</div>
<div class="col-md-6">
<label asp-for="AppBaseUrl" class="form-label fw-semibold">App Base URL</label>
<input asp-for="AppBaseUrl" class="form-control" placeholder="https://example.com" />
<span asp-validation-for="AppBaseUrl" class="text-danger small"></span>
</div>
</div>
@section FormActions {
<button type="submit" form="channelForm" class="btn btn-primary">
<i class="bi bi-floppy me-1"></i> Save