mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-03-12 10:30:47 +01:00
parent
e10937c253
commit
e24b42ef95
1 changed files with 2 additions and 2 deletions
|
@ -1,6 +1,7 @@
|
||||||
@using BTCPayServer.Client
|
@using BTCPayServer.Client
|
||||||
@using Microsoft.AspNetCore.Mvc.TagHelpers
|
@using Microsoft.AspNetCore.Mvc.TagHelpers
|
||||||
@using BTCPayServer.Abstractions.TagHelpers
|
@using BTCPayServer.Abstractions.TagHelpers
|
||||||
|
@using BTCPayServer.Models.ServerViewModels
|
||||||
@model BTCPayServer.Models.EmailsViewModel
|
@model BTCPayServer.Models.EmailsViewModel
|
||||||
|
|
||||||
<div class="row">
|
<div class="row">
|
||||||
|
@ -44,7 +45,7 @@
|
||||||
<div class="form-text">For many email providers (like Gmail) your login is your email address.</div>
|
<div class="form-text">For many email providers (like Gmail) your login is your email address.</div>
|
||||||
<span asp-validation-for="Settings.Login" class="text-danger"></span>
|
<span asp-validation-for="Settings.Login" class="text-danger"></span>
|
||||||
</div>
|
</div>
|
||||||
<div class="form-group" permission="@Policies.CanModifyStoreSettings">
|
<div class="form-group" permission="@(Model is ServerEmailsViewModel ? Policies.CanModifyServerSettings : Policies.CanModifyStoreSettings)">
|
||||||
@if (!Model.PasswordSet)
|
@if (!Model.PasswordSet)
|
||||||
{
|
{
|
||||||
<label asp-for="Settings.Password" class="form-label"></label>
|
<label asp-for="Settings.Password" class="form-label"></label>
|
||||||
|
@ -81,7 +82,6 @@
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
document.addEventListener("DOMContentLoaded", function () {
|
document.addEventListener("DOMContentLoaded", function () {
|
||||||
|
|
||||||
delegate('click', '#quick-fill .dropdown-menu a', function (e) {
|
delegate('click', '#quick-fill .dropdown-menu a', function (e) {
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue