mirror of
https://github.com/ArchiveBox/ArchiveBox.git
synced 2025-05-13 06:34:25 -04:00
Rename VERSION_RELEASES to VERSIONS_AVAILABLE
This commit is contained in:
parent
42dad5e0b3
commit
bfebc23f42
1 changed files with 4 additions and 4 deletions
|
@ -144,10 +144,10 @@
|
||||||
<script>
|
<script>
|
||||||
{% if user.is_authenticated and CAN_UPGRADE %}
|
{% if user.is_authenticated and CAN_UPGRADE %}
|
||||||
if (!localStorage.getItem("bannerDismissed")) {
|
if (!localStorage.getItem("bannerDismissed")) {
|
||||||
const upgradeVersionTag = "{{VERSION_RELEASES.upgrade_version.tag_name}}"
|
const upgradeVersionTag = "{{VERSIONS_AVAILABLE.recommended_version.tag_name}}"
|
||||||
const upgradeVersionURL = "{{VERSION_RELEASES.upgrade_version.html_url}}"
|
const upgradeVersionURL = "{{VERSIONS_AVAILABLE.recommended_version.html_url}}"
|
||||||
const currentVersionTag = "{{VERSION}}"
|
const currentVersionTag = "{{VERSION}}"
|
||||||
const currentVersionURL = "{{VERSION_RELEASES.current_version.html_url}}"
|
const currentVersionURL = "{{VERSIONS_AVAILABLE.recommended_version.html_url}}"
|
||||||
|
|
||||||
createBanner(currentVersionTag, currentVersionURL, upgradeVersionTag, upgradeVersionURL)
|
createBanner(currentVersionTag, currentVersionURL, upgradeVersionTag, upgradeVersionURL)
|
||||||
}
|
}
|
||||||
|
@ -159,7 +159,7 @@
|
||||||
<p>There's a new version of ArchiveBox available!</p>
|
<p>There's a new version of ArchiveBox available!</p>
|
||||||
Your version: <a href=${currentVersionURL}>${currentVersionTag}</a> | New version: <a href=${upgradeVersionURL}>${upgradeVersionTag}</a>
|
Your version: <a href=${currentVersionURL}>${currentVersionTag}</a> | New version: <a href=${upgradeVersionURL}>${upgradeVersionTag}</a>
|
||||||
<p>
|
<p>
|
||||||
<a href=https://github.com/ArchiveBox/ArchiveBox/wiki/Upgrading-or-Merging-Archives>Upgrading</a> | <a href=https://github.com/ArchiveBox/ArchiveBox/releases>Changelog</a> | <a href=https://github.com/ArchiveBox/ArchiveBox/wiki/Roadmap>Roadmap</a>
|
<a href=https://github.com/ArchiveBox/ArchiveBox/wiki/Upgrading-or-Merging-Archives>Upgrade Instructions</a> | <a href=https://github.com/ArchiveBox/ArchiveBox/releases>Changelog</a> | <a href=https://github.com/ArchiveBox/ArchiveBox/wiki/Roadmap>Roadmap</a>
|
||||||
</p>
|
</p>
|
||||||
<button id="dismiss-btn">Dismiss</button>
|
<button id="dismiss-btn">Dismiss</button>
|
||||||
`
|
`
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue