mirror of
https://git.nerdvpn.de/NerdVPN.de/invidious
synced 2026-02-14 22:51:42 +01:00
Add link to release archive in footer
This commit is contained in:
@@ -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 @@
|
||||
<i class="icon ion-ios-paper"></i>
|
||||
<a href="/privacy"><%= translate(locale, "View privacy policy.") %></a>
|
||||
</span>
|
||||
@@ -33,6 +33,11 @@ index 9904b4fc..769ab1e2 100644
|
||||
<i class="icon ion-ios-wallet"></i>
|
||||
- <a href="https://invidious.io/donate/"><%= translate(locale, "footer_donate_page") %></a>
|
||||
+ <a href="/donate/"><%= translate(locale, "footer_donate_page") %></a>
|
||||
+ </span>
|
||||
+ <span>
|
||||
+ <%= translate(locale, "Current version: ") %><a target="_blank" href="https://git.nerdvpn.de/NerdVPN.de/invidious/releases/tag/<%= CURRENT_VERSION %>-<%= CURRENT_COMMIT %>"><%= CURRENT_VERSION %>-<%= CURRENT_COMMIT %></a> @ <%= CURRENT_BRANCH %>
|
||||
</span>
|
||||
<span><%= translate(locale, "Current version: ") %> <%= CURRENT_VERSION %>-<%= CURRENT_COMMIT %> @ <%= CURRENT_BRANCH %></span>
|
||||
- <span><%= translate(locale, "Current version: ") %> <%= CURRENT_VERSION %>-<%= CURRENT_COMMIT %> @ <%= CURRENT_BRANCH %></span>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
|
||||
Reference in New Issue
Block a user