add env vars for creation form

Signed-off-by: tykayn <15d65f2f-0b14-4f70-bf34-e130180ed62b@users.tedomum.net>
This commit is contained in:
tykayn 2021-11-30 11:17:28 +01:00
parent 60d0678cb7
commit 3dbb108a2c
2 changed files with 18 additions and 11 deletions

View File

@ -19,18 +19,22 @@ export const environment = {
production: true,
display_routes: false,
showDemoWarning: false,
// creation form
display_menu_creation: false,
autofill_creation: false,
autofill_participation: false,
advanced_options_display: false,
autofill_default_timeslices: false,
creation_email_is_required: true,
creation_display_admin_url: false,
creation_display_hour_per_day: false, // display or not the ability to choose time slices different per day
autoSendNewPoll: false,
interval_days_default: 7,
showStepperShortcuts: false,
expiresDaysDelay: 60,
maxCountOfAnswers: 300,
appTitle: 'FramaDate',
appVersion: '2.2.0',
appVersion: '2.2.1',
appLogo: 'assets/img/logo.png',
api: {
versionToUse: 'apiV1',

View File

@ -4,6 +4,14 @@
import { apiV1, endpoints } from './endpoints';
import { poll_conf } from './poll_conf';
/*
* For easier debugging in development mode, you can import the following file
* to ignore zone related error stack frames such as `zone.run`, `zoneDelegate.invokeTask`.
*
* This import should be commented out in production mode because it will have a negative impact
* on performance if an error is thrown.
*/
import 'zone.js/dist/zone-error';
endpoints.baseHref = apiV1.baseHref;
@ -16,14 +24,17 @@ export const environment = {
advanced_options_display: false,
autofill_participation: false,
autofill_default_timeslices: false,
creation_email_is_required: true,
creation_display_admin_url: false,
creation_display_hour_per_day: false, // display or not the ability to choose time slices different per day
showDemoWarning: false,
autoSendNewPoll: false,
showStepperShortcuts: false,
interval_days_default: 7,
expiresDaysDelay: 60,
maxCountOfAnswers: 300,
appTitle: 'Framadate',
appVersion: '2.2.0',
appTitle: 'FramaDate',
appVersion: '2.2.1',
appLogo: 'assets/img/logo.png',
api: endpoints,
poll: poll_conf,
@ -32,12 +43,4 @@ export const environment = {
},
};
/*
* For easier debugging in development mode, you can import the following file
* to ignore zone related error stack frames such as `zone.run`, `zoneDelegate.invokeTask`.
*
* This import should be commented out in production mode because it will have a negative impact
* on performance if an error is thrown.
*/
import 'zone.js/dist/zone-error';
// Included with Angular CLI.