mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-03-11 09:04:54 +00:00
Update strings during edit/delete operations
This commit is contained in:
parent
161e374419
commit
201837518f
@ -23,9 +23,13 @@
|
||||
|
||||
{% block content %}
|
||||
|
||||
<h3>{% blocktrans %}Delete Connection <em>{{ name }}</em>{% endblocktrans %}</h3>
|
||||
<h3>{% trans "Delete Connection" %}</h3>
|
||||
|
||||
<p>{% trans "Delete connection permanently?" %}</p>
|
||||
<p>
|
||||
{% blocktrans trimmed %}
|
||||
Delete connection <strong>{{ name }}</strong> permanently?
|
||||
{% endblocktrans %}
|
||||
</p>
|
||||
|
||||
<form class="form" method="post">
|
||||
{% csrf_token %}
|
||||
|
||||
@ -23,13 +23,13 @@
|
||||
|
||||
{% block content %}
|
||||
|
||||
<h3>
|
||||
{% blocktrans trimmed with username=object.username %}
|
||||
Delete User <em>{{ username }}</em>
|
||||
{% endblocktrans %}
|
||||
</h3>
|
||||
<h3>{% trans "Delete User" %}</h3>
|
||||
|
||||
<p>{% trans "Delete user permanently?" %}</p>
|
||||
<p>
|
||||
{% blocktrans trimmed with username=object.username %}
|
||||
Delete user <strong>{{ username }}</strong> permanently?
|
||||
{% endblocktrans %}
|
||||
</p>
|
||||
|
||||
<form class="form" method="post">
|
||||
{% csrf_token %}
|
||||
|
||||
@ -31,11 +31,7 @@
|
||||
|
||||
{% block content %}
|
||||
|
||||
<h3>
|
||||
{% blocktrans trimmed with username=object.username %}
|
||||
Edit User <em>{{ username }}</em>
|
||||
{% endblocktrans %}
|
||||
</h3>
|
||||
<h3>{{ object.username }}</h3>
|
||||
|
||||
<p>
|
||||
{% url 'users:change_password' object.username as change_password_url %}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user