Skip to content
Snippets Groups Projects
Commit 02c63076 authored by Ashish Shetty's avatar Ashish Shetty Committed by Kimia Beheshti
Browse files

Fix: Change links on login page

parent 1e43b465
No related branches found
No related tags found
2 merge requests!201Release: Sprint Feb 10, 2023 - Sprint Feb 23, 2023,!200Fix: Change links on login page
......@@ -7,7 +7,7 @@
>
<b-navbar-nav>
<!-- Coscine -->
<b-nav-item :href="$t('nav.url.extrasHelp').toString()" target="_blank">
<b-nav-item :href="$t('nav.url.coscine').toString()" target="_blank">
<u>{{ $t("nav.coscine") }}</u>
</b-nav-item>
<div class="vl" />
......
......@@ -4,13 +4,20 @@
<!-- Coscine Logo -->
<b-navbar-brand id="coscineLogo">
<!-- Added conditional navigation to avoid navigation guard errors in the console -->
<RouterLink :to="isLoggedIn ? { name: 'home' } : ''">
<RouterLink v-if="isLoggedIn" :to="{ name: 'home' }">
<img
alt="Coscine Logo"
src="@/assets/svg/coscine_white.svg"
class="mx-3"
/>
</RouterLink>
<b-link v-else :href="$t('nav.url.coscine').toString()">
<img
alt="Coscine Logo"
src="@/assets/svg/coscine_white.svg"
class="mx-3"
/>
</b-link>
</b-navbar-brand>
<b-navbar-toggle target="nav-collapse" class="b-0" />
......
......@@ -26,6 +26,7 @@ export default {
extrasDisclaimer:
"https://git.rwth-aachen.de/coscine/docs/public/terms/-/blob/master/PrivacyPolicy.md",
extrasImprint: "https://www.coscine.de/imprint/",
coscine: "https://www.coscine.de/",
},
} as VueI18n.LocaleMessageObject,
......
......@@ -26,6 +26,7 @@ export default {
extrasDisclaimer:
"https://git.rwth-aachen.de/coscine/docs/public/terms/-/blob/master/PrivacyPolicy.md",
extrasImprint: "https://www.coscine.de/en/imprint/",
coscine: "https://www.coscine.de/en/",
},
} as VueI18n.LocaleMessageObject,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment