Show custom CSS to hosted users
This commit is contained in:
parent
33876d8f14
commit
ac9ad12077
|
|
@ -731,13 +731,13 @@ class _ClientPortalState extends State<ClientPortal>
|
|||
maxLines: 6,
|
||||
keyboardType: TextInputType.multiline,
|
||||
),
|
||||
if (isSelfHosted(context)) ...[
|
||||
DecoratedFormField(
|
||||
label: localization.customCss,
|
||||
controller: _customCssController,
|
||||
maxLines: 6,
|
||||
keyboardType: TextInputType.multiline,
|
||||
),
|
||||
if (isSelfHosted(context))
|
||||
DecoratedFormField(
|
||||
label: localization.customJavascript,
|
||||
controller: _customJavaScriptController,
|
||||
|
|
@ -745,7 +745,6 @@ class _ClientPortalState extends State<ClientPortal>
|
|||
keyboardType: TextInputType.multiline,
|
||||
),
|
||||
],
|
||||
],
|
||||
)
|
||||
],
|
||||
),
|
||||
|
|
|
|||
|
|
@ -609,10 +609,8 @@ class SettingsSearch extends StatelessWidget {
|
|||
[
|
||||
'header',
|
||||
'footer',
|
||||
if (isSelfHosted(context)) ...[
|
||||
'custom_css',
|
||||
'custom_javascript',
|
||||
],
|
||||
if (isSelfHosted(context)) 'custom_javascript',
|
||||
],
|
||||
],
|
||||
kSettingsEmailSettings: [
|
||||
|
|
|
|||
Loading…
Reference in New Issue