Skip to content
Snippets Groups Projects
Commit 56799d9f authored by Erwan Rouchet's avatar Erwan Rouchet Committed by Bastien Abadie
Browse files

Fix release notes link

parent b81cccf5
No related branches found
No related tags found
1 merge request!1500Fix release notes link
......@@ -24,7 +24,7 @@
</div>
<router-view />
<footer class="footer is-paddingless is-flex is-justify-content-space-between">
<span class="footer-item">Version <a :href="'https://teklia.com/solutions/arkindex/releases/' + currentRelease" target="_blank">{{ VERSION }}</a></span>
<span class="footer-item">Version <a :href="releaseNotes" target="_blank">{{ VERSION }}</a></span>
<span class="footer-item">Built by <a href="https://teklia.com" target="_blank">Teklia</a></span>
<span class="is-inline-flex">
<DoorBell class="footer-item mb-0" v-if="hasFeature('doorbell')" />
......@@ -87,8 +87,9 @@ export default {
// Prevent displaying the notification to specific pages
return ['home', 'login', 'register'].includes(this.$route.name)
},
currentRelease () {
return VERSION.match(/\d+\.\d+\.\d+/g)[0].replace(/\./g, '-')
releaseNotes () {
const versionNumber = VERSION.match(/\d+\.\d+\.\d+/g)[0].replace(/\./g, '')
return `https://teklia.com/our-solutions/arkindex/releases/arkindex-release-${versionNumber}/`
}
},
methods: {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment