Commit 6f055c69 authored by James Valleroy's avatar James Valleroy

backups: Rename 'Create archive' to 'New backup'

Signed-off-by: James Valleroy's avatarJames Valleroy <jvalleroy@mailbox.org>
parent 6d8c7ad1
...@@ -41,10 +41,10 @@ ...@@ -41,10 +41,10 @@
{% if available_apps %} {% if available_apps %}
<p> <p>
<a title="{% trans 'Create archive' %}" <a title="{% trans 'New backup' %}"
role="button" class="btn btn-primary" role="button" class="btn btn-primary"
href="{% url 'backups:create' %}"> href="{% url 'backups:create' %}">
{% trans 'Create archive' %} {% trans 'New backup' %}
</a> </a>
</p> </p>
{% else %} {% else %}
......
...@@ -63,7 +63,7 @@ class CreateArchiveView(SuccessMessageMixin, FormView): ...@@ -63,7 +63,7 @@ class CreateArchiveView(SuccessMessageMixin, FormView):
def get_context_data(self, **kwargs): def get_context_data(self, **kwargs):
"""Return additional context for rendering the template.""" """Return additional context for rendering the template."""
context = super().get_context_data(**kwargs) context = super().get_context_data(**kwargs)
context['title'] = _('Create Archive') context['title'] = _('New Backup')
return context return context
def get_initial(self): def get_initial(self):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment