Update strings during edit/delete operations

This commit is contained in:
Sunil Mohan Adapa 2015-12-09 23:30:28 +05:30
parent 161e374419
commit 201837518f
3 changed files with 13 additions and 13 deletions

View File

@ -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 %}

View File

@ -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 %}

View File

@ -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 %}