refactor: downloads remaining block in link.html

This commit is contained in:
Zynh Ludwig 2024-11-21 10:01:50 -08:00
parent 31e2cab280
commit 29936813f0

View file

@ -12,7 +12,9 @@
hx-get="/link/{{ id }}/remaining" hx-get="/link/{{ id }}/remaining"
hx-trigger="click from:#link delay:0.2s, every 60s" hx-trigger="click from:#link delay:0.2s, every 60s"
> >
{{ self::get_downloads_remaining_text(record) }} {% block downloads_remaining %}
{{ self::get_downloads_remaining_text(record) }}
{% endblock downloads_remaining %}
</div> </div>
<button class="return-button" onclick="clipboard()"> <button class="return-button" onclick="clipboard()">
Copy to Clipboard Copy to Clipboard