mirror of
https://gitlab2.federez.net/re2o/re2o
synced 2025-01-11 02:34:28 +00:00
Bricoles, web management ssl
This commit is contained in:
parent
a01b98f43f
commit
ddb8bd5993
1 changed files with 7 additions and 2 deletions
|
@ -219,6 +219,10 @@ class OptionalTopologie(AclMixin, PreferencesModel):
|
|||
default=False,
|
||||
help_text="Web management, activé si provision automatique"
|
||||
)
|
||||
switchs_web_management_ssl = models.BooleanField(
|
||||
default=False,
|
||||
help_text="Web management ssl. Assurez-vous que un certif est installé sur le switch !"
|
||||
)
|
||||
switchs_rest_management = models.BooleanField(
|
||||
default=False,
|
||||
help_text="Rest management, activé si provision auto"
|
||||
|
@ -231,6 +235,7 @@ class OptionalTopologie(AclMixin, PreferencesModel):
|
|||
help_text="Plage d'ip de management des switchs"
|
||||
)
|
||||
|
||||
|
||||
@cached_property
|
||||
def provisioned_switchs(self):
|
||||
from topologie.models import Switch
|
||||
|
@ -493,8 +498,8 @@ class MailMessageOption(AclMixin, models.Model):
|
|||
"""Reglages, mail de bienvenue et autre"""
|
||||
PRETTY_NAME = "Options de corps de mail"
|
||||
|
||||
welcome_mail_fr = models.TextField(default="")
|
||||
welcome_mail_en = models.TextField(default="")
|
||||
welcome_mail_fr = models.TextField(default="", help_text="Mail de bienvenue en français")
|
||||
welcome_mail_en = models.TextField(default="", help_text="Mail de bienvenue en anglais")
|
||||
|
||||
class Meta:
|
||||
permissions = (
|
||||
|
|
Loading…
Reference in a new issue