Fix indent

This commit is contained in:
nicolas.dorier 2023-04-25 21:03:12 +09:00
parent c95f75bc6c
commit b51fa8df5a
No known key found for this signature in database
GPG key ID: 6618763EF09186FE
2 changed files with 6 additions and 6 deletions

View file

@ -1,6 +1,6 @@
@model PaymentModel
@{
var displayedPaymentMethods = Model.AvailableCryptos.Where(a => a.Displayed).ToList();
var displayedPaymentMethods = Model.AvailableCryptos.Where(a => a.Displayed).ToList();
}
<div class="top-header">
<div class="header">
@ -47,7 +47,7 @@
</div>
</div>
<div class="single-item-order__right">
@if (displayedPaymentMethods.Count > 1)
@if (displayedPaymentMethods.Count > 1)
{
<div class="paywithRowRight cursorPointer" v-on:click="openPaymentMethodDialog">
<span class="payment__currencies " v-show="!changingCurrencies">
@ -58,7 +58,7 @@
</div>
<div id="vexPopupDialog">
<ul class="vexmenu">
@foreach (var crypto in displayedPaymentMethods)
@foreach (var crypto in displayedPaymentMethods)
{
<li class="vexmenuitem">
<a href="@crypto.Link" class="payment-method" data-payment-method="@crypto.PaymentMethodId" rel="noreferrer noopener">

View file

@ -1,7 +1,7 @@
@model PaymentModel
@{
Layout = null;
var displayedPaymentMethods = Model.AvailableCryptos.Where(a => a.Displayed).ToList();
var displayedPaymentMethods = Model.AvailableCryptos.Where(a => a.Displayed).ToList();
}
<!DOCTYPE html>
<html>
@ -25,13 +25,13 @@
{
<h1 class="text-danger">This payment method requires javascript.</h1>
}
@if (displayedPaymentMethods.Count > 1)
@if (displayedPaymentMethods.Count > 1)
{
<div>
<hr />
<h2>Pay with:</h2>
<ul style="list-style-type: none;padding-left: 5px;">
@foreach (var crypto in displayedPaymentMethods)
@foreach (var crypto in displayedPaymentMethods)
{
<li style="height: 32px; line-height: 32px;">
<a asp-action="CheckoutNoScript" asp-route-invoiceId="@Model.InvoiceId" asp-route-paymentMethodId="@crypto.PaymentMethodId">