Merge pull request 'master' (#273) from master into Docker

Reviewed-on: SGD-Nord/konova#273
pull/380/head
mpeltriaux 2 years ago
commit 0e703222d6

@ -30,11 +30,12 @@ class AbstractCompensationForm(BaseForm):
label=_("Identifier"),
label_suffix="",
max_length=255,
help_text=_("Generated automatically"),
help_text=_("Generated automatically - not editable"),
widget=GenerateInput(
attrs={
"class": "form-control",
"url": None, # Needs to be set in inheriting constructors
"readonly": True,
}
)
)

@ -29,11 +29,12 @@ class NewInterventionForm(BaseForm):
label=_("Identifier"),
label_suffix="",
max_length=255,
help_text=_("Generated automatically"),
help_text=_("Generated automatically - not editable"),
widget=GenerateInput(
attrs={
"class": "form-control",
"url": reverse_lazy("intervention:new-id"),
"readonly": True,
}
)
)

Binary file not shown.

@ -365,8 +365,8 @@ msgstr "Kennung"
#: compensation/forms/compensation.py:33 intervention/forms/intervention.py:32
#: user/forms/user.py:77
msgid "Generated automatically"
msgstr "Automatisch generiert"
msgid "Generated automatically - not editable"
msgstr "Automatisch generiert - nicht bearbeitbar"
#: compensation/forms/compensation.py:42 compensation/tables/compensation.py:28
#: compensation/tables/eco_account.py:28

@ -74,7 +74,7 @@ class UserAPITokenForm(BaseForm):
label_suffix="",
max_length=255,
required=True,
help_text=_("Generated automatically"),
help_text=_("Generated automatically - not editable"),
widget=GenerateInput(
attrs={
"class": "form-control",

Loading…
Cancel
Save