Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions VueApp/src/layouts/ViperLayout.vue
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@
UC Davis
</a>
</div>
<div class="col-12 col-md-auto gt-sm text-black">&copy; 2023 School of Veterinary Medicine</div>
<div class="col-12 col-md-auto gt-sm text-black">&copy; {{ currentYear }} School of Veterinary Medicine</div>
</div>
</q-footer>
<SessionTimeout />
Expand Down Expand Up @@ -274,7 +274,8 @@ export default {
const environment = import.meta.env.VITE_ENVIRONMENT
const viperHome = import.meta.env.VITE_VIPER_HOME
const loginHref = getLoginUrl()
return { userStore, mainLeftDrawer, clearEmulationHref, environment, viperHome, loginHref }
const currentYear = new Date().getFullYear()
return { userStore, mainLeftDrawer, clearEmulationHref, environment, viperHome, loginHref, currentYear }
},
props: {
nav: {
Expand Down
3 changes: 2 additions & 1 deletion VueApp/src/layouts/ViperLayoutSimple.vue
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
const clearEmulationHref = ref(import.meta.env.VITE_VIPER_HOME + "ClearEmulation")
const environment = ref(import.meta.env.VITE_ENVIRONMENT)
const viperHome = import.meta.env.VITE_VIPER_HOME
const currentYear = new Date().getFullYear()
</script>

<template>
Expand Down Expand Up @@ -95,7 +96,7 @@
</div>
<div class="">
<div class="text-black">
&copy; 2023 School of Veterinary Medicine
&copy; {{ currentYear }} School of Veterinary Medicine
</div>
</div>
<div class="q-pr-md">
Expand Down
2 changes: 1 addition & 1 deletion web/Views/Shared/VIPERLayoutSimplified.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@
</div>
<div class="">
<div class="text-black">
&copy; 2023 School of Veterinary Medicine
&copy; @DateTime.Now.Year School of Veterinary Medicine
</div>
</div>
<div class="q-pr-md">
Expand Down
2 changes: 1 addition & 1 deletion web/Views/Shared/_VIPERLayout.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@
</div>
<div class="col-12 col-md-auto gt-sm">
<div class="text-black">
&copy; 2023 School of Veterinary Medicine
&copy; @DateTime.Now.Year School of Veterinary Medicine
</div>
</div>
</div>
Expand Down
Loading