mirror of
https://github.com/iv-org/invidious.git
synced 2025-04-22 16:29:10 -04:00
Rename option 'source_code_url' to 'modified_source_code_url'
This commit is contained in:
parent
daf0128794
commit
aada4603a8
@ -439,7 +439,7 @@ feed_threads: 1
|
||||
## Accepted values: a string
|
||||
## Default: <none>
|
||||
##
|
||||
#source_code_url: ""
|
||||
#modified_source_code_url: ""
|
||||
|
||||
|
||||
|
||||
|
@ -99,7 +99,7 @@ class Config
|
||||
|
||||
# URL to the modified source code to be easily AGPL compliant
|
||||
# Will display in the footer, next to the main source code link
|
||||
property source_code_url : String? = nil
|
||||
property modified_source_code_url : String? = nil
|
||||
|
||||
@[YAML::Field(converter: Preferences::FamilyConverter)]
|
||||
property force_resolve : Socket::Family = Socket::Family::UNSPEC # Connect to YouTube over 'ipv6', 'ipv4'. Will sometimes resolve fix issues with rate-limiting (see https://github.com/ytdl-org/youtube-dl/issues/21729)
|
||||
|
@ -119,9 +119,9 @@
|
||||
<div class="pure-u-1 pure-u-md-1-3">
|
||||
<span>
|
||||
<i class="icon ion-logo-github"></i>
|
||||
<% if CONFIG.source_code_url %>
|
||||
<% if CONFIG.modified_source_code_url %>
|
||||
<a href="https://github.com/iv-org/invidious"><%= translate(locale, "footer_original_source_code") %></a> /
|
||||
<a href="<%= CONFIG.source_code_url %>"><%= translate(locale, "footer_modfied_source_code") %></a>
|
||||
<a href="<%= CONFIG.modified_source_code_url %>"><%= translate(locale, "footer_modfied_source_code") %></a>
|
||||
<% else %>
|
||||
<a href="https://github.com/iv-org/invidious"><%= translate(locale, "footer_source_code") %></a>
|
||||
<% end %>
|
||||
|
Loading…
x
Reference in New Issue
Block a user