From 346e1bf60ee343ce56fbdb91494aa280aa05fd5b Mon Sep 17 00:00:00 2001 From: Pavel Tatarskiy Date: Thu, 28 Nov 2024 20:58:11 +0300 Subject: [PATCH] add donation block to download --- templates/views/action/download_file.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/views/action/download_file.html b/templates/views/action/download_file.html index 041faee..f312753 100644 --- a/templates/views/action/download_file.html +++ b/templates/views/action/download_file.html @@ -5,11 +5,11 @@ var wgetCmd = `wget -c -O "${file}" -t 20 "${url}"`; {{- if .Claims | hasAds }} -
Your current download speed will be limited to {{ .Claims.Claims.Connection.Rate }}Mbps, donate to increase your speed and remove ads!
+
Your current download speed will be limited to {{ .Claims.Claims.Connection.Rate }}Mbps, donate to increase your speed and remove ads!
{{- end }}
{{- if .Claims | hasAds }} - +