Web/commissions/closed.js
Ell 6c804d8e09
All checks were successful
Web/pipeline/head This commit looks good
added an info about commissions being closed
2021-05-15 17:08:56 +02:00

15 lines
491 B
JavaScript

$.ajax({
dataType: "text",
url: "closed.txt",
cache: false,
success: function (value) {
if (value !== "true")
return;
$('#closed').html( /*html*/ `
<div class="alert alert-warning" role="alert">
<strong>My commissions are currently closed.</strong>
<br>If you are willing to wait until they reopen, you can still contact me with a short summmary of your request.
</div>
`);
}
});