proper logo alt text with the configured name

This commit is contained in:
OniriCorpe 2024-05-22 02:09:01 +02:00
parent 31640b1523
commit 89dee68807

View file

@ -1,22 +1,24 @@
<!DOCTYPE html> <!DOCTYPE html>
<html> <html>
<head>
<head>
<meta charset="utf-8" /> <meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" /> <meta name="viewport" content="width=device-width, initial-scale=1" />
<title>{{ _('Donate to %(name)s', name=name) }}</title> <title>{{ _('Donate to %(name)s', name=name) }}</title>
<link rel="icon" href="{{ favicon }}" type="image/x-icon" /> <link rel="icon" href="{{ favicon }}" type="image/x-icon" />
<link href="./css/bootstrap-5.0.0-beta2.min.css" rel="stylesheet" integrity="sha384-BmbxuPwQa2lc/FVzBcNJ7UAyJxM6wuqIj61tLrc4wSX0szH/Ev+nYRRuWlolflfl" crossorigin="anonymous"> <link href="./css/bootstrap-5.0.0-beta2.min.css" rel="stylesheet"
integrity="sha384-BmbxuPwQa2lc/FVzBcNJ7UAyJxM6wuqIj61tLrc4wSX0szH/Ev+nYRRuWlolflfl" crossorigin="anonymous">
<link href="./css/global.css" rel="stylesheet" /> <link href="./css/global.css" rel="stylesheet" />
<script src="https://js.stripe.com/v3/"></script> <script src="https://js.stripe.com/v3/"></script>
<script src="./index.js" defer></script> <script src="./index.js" defer></script>
</head> </head>
<body class="text-center"> <body class="text-center">
<main class="form-donate"> <main class="form-donate">
<div> <div>
<img src="{{ logo }}" class="mb-4" alt="Project Logo" max-width="7em"/> <img src="{{ logo }}" class="mb-4" alt="{{ _('%(name)s Logo', name=name) }}" max-width="7em" />
<h1 class="h3 mb-3 fw-normal">{{ _('I want to give to %(name)s', name=name) }}</h1> <h1 class="h3 mb-3 fw-normal">{{ _('I want to give to %(name)s', name=name) }}</h1>
<div class="input-group mb-3"> <div class="input-group mb-3">
<input type="hidden" id="csrf" value="{{ csrf }}" /> <input type="hidden" id="csrf" value="{{ csrf }}" />
@ -38,5 +40,6 @@
<div id="error-message"></div> <div id="error-message"></div>
</div> </div>
</main> </main>
</body> </body>
</html> </html>