-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add UI for email proxy settings #11274
Conversation
We could add a toggle checkbox to display proxy settings, but I find it's useful to put them underneath the server host / port |
<div id="@Html.Id("SelectEncryptionMethod")" class="form-group" asp-validation-class-for="EncryptionMethod"> | ||
<label asp-for="EncryptionMethod">@T["Encryption method to use"]</label> | ||
<select asp-for="EncryptionMethod" class="form-control" disabled="@Model.AutoSelectEncryption"> | ||
<option value="@SmtpEncryptionMethod.None" selected="@(SmtpEncryptionMethod.None == Model.EncryptionMethod ? true : false)"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think razor is clever enough to just use selected="@(SmtpEncryptionMethod.None == Model.EncryptionMethod)"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Saw that it was not part of the PR
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You Right, seems we need to change in many places
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seb can we merge this, then I can look for the places that may need to change
Crowdin Translations updated to include those added by this PR. |
No description provided.