UI: Allow custom footer in password reset page (#10461)

* Allow custom footer in password reset page

* fixup
This commit is contained in:
Vishesh 2025-03-07 11:18:24 +05:30 committed by GitHub
parent 8b092951cb
commit b8359e8f62
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 4 additions and 2 deletions

View File

@ -13,6 +13,7 @@
"loginTitle": "CloudStack",
"loginFavicon": "assets/logo.svg",
"loginFooter": "",
"resetPasswordFooter": "",
"logo": "assets/logo.svg",
"minilogo": "assets/mini-logo.svg",
"banner": "assets/banner.svg",

View File

@ -37,8 +37,9 @@
</div>
<route-view></route-view>
</div>
<div class="user-layout-footer" v-if="$config.loginFooter">
<label v-html="$config.loginFooter"></label>
<div class="user-layout-footer" v-if="$config.loginFooter || $config.resetPasswordFooter">
<label v-if="$route.name === 'resetPassword' && $config.resetPasswordFooter" v-html="$config.resetPasswordFooter"></label>
<label v-else v-html="$config.loginFooter"></label>
</div>
</div>
</template>