refactor: downloads remaining block in link.html
This commit is contained in:
parent
31e2cab280
commit
29936813f0
1 changed files with 3 additions and 1 deletions
|
@ -12,7 +12,9 @@
|
|||
hx-get="/link/{{ id }}/remaining"
|
||||
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>
|
||||
<button class="return-button" onclick="clipboard()">
|
||||
Copy to Clipboard
|
||||
|
|
Loading…
Reference in a new issue