Site Configuration by Server Params (confsites and confpages)
This commit is contained in:
@@ -100,6 +100,34 @@ const SiteSchema = new Schema({
|
|||||||
col_toolbar: { type: String },
|
col_toolbar: { type: String },
|
||||||
col_bgfooter: { type: String },
|
col_bgfooter: { type: String },
|
||||||
show_darkopt: { type: Boolean },
|
show_darkopt: { type: Boolean },
|
||||||
|
showButtHome: { type: Boolean },
|
||||||
|
showProfile: { type: Boolean },
|
||||||
|
showUserMenu: { type: Boolean },
|
||||||
|
showRegButton: { type: Boolean },
|
||||||
|
enableReg: { type: Boolean },
|
||||||
|
showNL: { type: Boolean },
|
||||||
|
showMsgs: { type: Boolean },
|
||||||
|
showNotif: { type: Boolean },
|
||||||
|
showCoins: { type: Boolean },
|
||||||
|
showNameSurname: { type: Boolean },
|
||||||
|
showCompetenze: { type: Boolean },
|
||||||
|
showConnected: { type: Boolean },
|
||||||
|
bookingEvents: { type: Boolean },
|
||||||
|
enableEcommerce: { type: Boolean },
|
||||||
|
enableGroups: { type: Boolean },
|
||||||
|
enableCircuits: { type: Boolean },
|
||||||
|
enableProj: { type: Boolean },
|
||||||
|
enableTodos: { type: Boolean },
|
||||||
|
enableRegByBot: { type: Boolean },
|
||||||
|
enabledRegNeedTelegram: { type: Boolean },
|
||||||
|
showViewGroups: { type: Boolean },
|
||||||
|
showViewUsers: { type: Boolean },
|
||||||
|
showViewProfile: { type: Boolean },
|
||||||
|
enablePwa: { type: Boolean },
|
||||||
|
lang: {
|
||||||
|
type: Number,
|
||||||
|
default: 0,
|
||||||
|
},
|
||||||
},
|
},
|
||||||
confsite: {
|
confsite: {
|
||||||
options: { // ConfSite
|
options: { // ConfSite
|
||||||
@@ -131,10 +159,6 @@ const SiteSchema = new Schema({
|
|||||||
info2: { type: String },
|
info2: { type: String },
|
||||||
cell: { type: String },
|
cell: { type: String },
|
||||||
},
|
},
|
||||||
footer_mobile: {
|
|
||||||
show_buttHome: { type: Boolean },
|
|
||||||
show_profile: { type: Boolean },
|
|
||||||
},
|
|
||||||
});
|
});
|
||||||
|
|
||||||
var Site = module.exports = mongoose.model('Site', SiteSchema);
|
var Site = module.exports = mongoose.model('Site', SiteSchema);
|
||||||
|
|||||||
Reference in New Issue
Block a user