We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is your enhancement request related to a problem? Please describe.
No.
Describe the solution you'd like Wrap the SHA/branch text in a link that points to the current release. For example, 2024.04.27-eda7444 @ master would link to https://github.com/iv-org/invidious/releases/tag/v2.20240427 (or just https://github.com/iv-org/invidious/releases/latest)
2024.04.27-eda7444 @ master
Describe alternatives you've considered Leave it as it is.
Additional context n/a
The text was updated successfully, but these errors were encountered:
Something like this should work:
<span> <% if CONFIG.modified_source_code_url %> <%= translate(locale, "Current version: ") %> <a href="<%= CONFIG.modified_source_code_url %>/commit/<%= CURRENT_COMMIT %>"> <%= CURRENT_VERSION %>-<%= CURRENT_COMMIT %> @ <%= CURRENT_BRANCH %> </a> <% else %> <%= translate(locale, "Current version: ") %> <a href="https://github.com/iv-org/invidious/commit/<%= CURRENT_COMMIT %>"> <%= CURRENT_VERSION %>-<%= CURRENT_COMMIT %> @ <%= CURRENT_BRANCH %> </a> <% end %> </span>
at https://github.com/iv-org/invidious/blob/master/src/invidious/views/template.ecr#L152
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
Is your enhancement request related to a problem? Please describe.
No.
Describe the solution you'd like
Wrap the SHA/branch text in a link that points to the current release. For example,
2024.04.27-eda7444 @ master
would link to https://github.com/iv-org/invidious/releases/tag/v2.20240427 (or just https://github.com/iv-org/invidious/releases/latest)Describe alternatives you've considered
Leave it as it is.
Additional context
n/a
The text was updated successfully, but these errors were encountered: