mirror of
https://github.com/jwinterm/modoboa.git
synced 2026-10-17 05:41:25 +02:00
Added setting to customize logo used in frontend creation forms
This commit is contained in:
@@ -6,5 +6,6 @@
|
||||
"OAUTH_REDIRECT_URI": "/login/logged",
|
||||
"OAUTH_POST_REDIRECT_URI": "/",
|
||||
"HTML_PAGE_TITLE": "Test title",
|
||||
"MENU_LOGO_PATH": "src/assets/Modoboa_RVB-BLANC-SANS.png"
|
||||
"MENU_LOGO_PATH": "/src/assets/Modoboa_RVB-BLANC-SANS.png",
|
||||
"CREATION_FORM_LOGO_PATH": "/src/assets/Modoboa_RVB-BLEU-SANS.png"
|
||||
}
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
<ConfirmDialog ref="confirm" />
|
||||
<v-stepper-header class="align-center px-10">
|
||||
<v-img
|
||||
src="@/assets/Modoboa_RVB-BLEU-SANS.png"
|
||||
:src="globalConfig.CREATION_FORM_LOGO_PATH"
|
||||
max-width="190"
|
||||
class="hidden-sm-and-down"
|
||||
/>
|
||||
@@ -104,8 +104,10 @@ import CreationSummary from './CreationSummary.vue'
|
||||
import { ref } from 'vue'
|
||||
import { useGettext } from 'vue3-gettext'
|
||||
import { useDisplay } from 'vuetify'
|
||||
import { useGlobalConfig } from '@/main'
|
||||
|
||||
const { smAndDown } = useDisplay()
|
||||
const globalConfig = useGlobalConfig()
|
||||
|
||||
const props = defineProps({
|
||||
title: { type: String, default: '' },
|
||||
|
||||
Reference in New Issue
Block a user