diff --git a/templates/link.html b/templates/link.html index 287cbc5..9be1b64 100644 --- a/templates/link.html +++ b/templates/link.html @@ -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 %}