From e65fc9b4b8d09f42e4a92bc1d87a9a1ede80bdca Mon Sep 17 00:00:00 2001 From: weidenwiesel Date: Sat, 23 Aug 2025 18:22:51 +0200 Subject: [PATCH] Add link to release archive in footer --- patches/invidious/001-nerdvpn-branding.patch | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/patches/invidious/001-nerdvpn-branding.patch b/patches/invidious/001-nerdvpn-branding.patch index 9641bfb..a32e86d 100644 --- a/patches/invidious/001-nerdvpn-branding.patch +++ b/patches/invidious/001-nerdvpn-branding.patch @@ -1,5 +1,5 @@ diff --git a/src/invidious.cr b/src/invidious.cr -index 3804197e..0e051080 100644 +index 69f8a26c..0a416b95 100644 --- a/src/invidious.cr +++ b/src/invidious.cr @@ -75,9 +75,9 @@ REQUEST_HEADERS_WHITELIST = {"accept", "accept-encoding", "cache-control", "con @@ -15,10 +15,10 @@ index 3804197e..0e051080 100644 # This is used to determine the `?v=` on the end of file URLs (for cache busting). We # only need to expire modified assets, so we can use this to find the last commit that changes diff --git a/src/invidious/views/template.ecr b/src/invidious/views/template.ecr -index 9904b4fc..769ab1e2 100644 +index 9904b4fc..088a0871 100644 --- a/src/invidious/views/template.ecr +++ b/src/invidious/views/template.ecr -@@ -142,12 +142,16 @@ +@@ -142,14 +142,20 @@ <%= translate(locale, "View privacy policy.") %> @@ -33,6 +33,11 @@ index 9904b4fc..769ab1e2 100644 - <%= translate(locale, "footer_donate_page") %> + <%= translate(locale, "footer_donate_page") %> ++ ++ ++ <%= translate(locale, "Current version: ") %><%= CURRENT_VERSION %>-<%= CURRENT_COMMIT %> @ <%= CURRENT_BRANCH %> - <%= translate(locale, "Current version: ") %> <%= CURRENT_VERSION %>-<%= CURRENT_COMMIT %> @ <%= CURRENT_BRANCH %> +- <%= translate(locale, "Current version: ") %> <%= CURRENT_VERSION %>-<%= CURRENT_COMMIT %> @ <%= CURRENT_BRANCH %> + +