Backups: notify that credentials of remote backups are stored

Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
Michael Pimmer 2018-12-10 19:12:31 +01:00 committed by James Valleroy
parent fc9e406bf8
commit a5ab22babf
No known key found for this signature in database
GPG Key ID: 77C0C75E7B650808
2 changed files with 10 additions and 2 deletions

View File

@ -104,8 +104,7 @@ class AddRepositoryForm(forms.Form):
label=_('Encryption'),
help_text=format_lazy(
_('"Key in Repository" means that a '
'password-protected key is stored with the backup. <br />'
'<b>You need this password to restore a backup!</b>')),
'password-protected key is stored with the backup.')),
choices=[('repokey', 'Key in Repository'), ('none', 'None')]
)
encryption_passphrase = forms.CharField(

View File

@ -30,6 +30,15 @@
{{ form|bootstrap }}
<div class="alert alert-warning" role="alert">
{% blocktrans trimmed %}
The credentials for this repository are stored on your {{ box_name }}.
<br />
To restore a backup on a new {{ box_name }} you need the ssh
credentials and, if chosen, the encryption passphrase.
{% endblocktrans %}
</div>
<input type="submit" class="btn btn-primary"
value="{% trans "Create Repository" %}"/>
<a class="abort btn btn-sm btn-default"