diff --git a/lizmap/dialogs/main.py b/lizmap/dialogs/main.py index ef353b23..0d781716 100755 --- a/lizmap/dialogs/main.py +++ b/lizmap/dialogs/main.py @@ -1169,15 +1169,15 @@ def safeguards_to_markdown(self) -> str: text = '
\n' text += 'List of safeguards :\n' text += '
\n' - text += '* Mode : {}\n'.format('normal' if self.radio_normal.isChecked() else 'safe') - text += '* Allow parent folder : {}\n'.format('yes' if self.radio_allow_parent_folder.isChecked() else 'no') + text += '* Mode : {}
\n'.format('normal' if self.radio_normal.isChecked() else 'safe') + text += '* Allow parent folder : {}
\n'.format('yes' if self.radio_allow_parent_folder.isChecked() else 'no') if self.radio_allow_parent_folder.isChecked(): - text += '* Number of parent : {} folder(s)\n'.format(self.safe_number_parent.value()) - text += '* Prevent other drive : {}\n'.format('yes' if self.safe_other_drive.isChecked() else 'no') - text += '* Prevent PG service : {}\n'.format('yes' if self.safe_pg_service.isChecked() else 'no') - text += '* Prevent PG Auth DB : {}\n'.format('yes' if self.safe_pg_auth_db.isChecked() else 'no') - text += '* Force PG user&pass : {}\n'.format('yes' if self.safe_pg_user_password.isChecked() else 'no') - text += '* Prevent ECW : {}\n'.format('yes' if self.safe_ecw.isChecked() else 'no') + text += '* Number of parent : {} folder(s)
\n'.format(self.safe_number_parent.value()) + text += '* Prevent other drive : {}
\n'.format('yes' if self.safe_other_drive.isChecked() else 'no') + text += '* Prevent PG service : {}
\n'.format('yes' if self.safe_pg_service.isChecked() else 'no') + text += '* Prevent PG Auth DB : {}
\n'.format('yes' if self.safe_pg_auth_db.isChecked() else 'no') + text += '* Force PG user&pass : {}
\n'.format('yes' if self.safe_pg_user_password.isChecked() else 'no') + text += '* Prevent ECW : {}
\n'.format('yes' if self.safe_ecw.isChecked() else 'no') text += '
\n' return text