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