You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
40 lines
1.7 KiB
40 lines
1.7 KiB
{% extends request.is_ajax|yesno:'bajax.html,base.html' %}
|
|
{% load i18n %}
|
|
{% block main %}
|
|
|
|
|
|
<ol class="breadcrumb">
|
|
<li><span class="glyphicon glyphicon-home"></span></li>
|
|
<li><a href="{% url 'abonapp:group_list' %}">{% trans 'User groups' %}</a></li>
|
|
<li><a href="{% url 'abonapp:people_list' abon_group.id %}">{{ abon_group.title }}</a></li>
|
|
<li><a href="{% url 'abonapp:abon_home' abon_group.id abon.id %}">{{ abon.fio }}</a></li>
|
|
<li class="active">{% trans 'Activate service' %}</li>
|
|
</ol>
|
|
|
|
{% include 'message_block.html' %}
|
|
|
|
<div class="panel panel-default">
|
|
<div class="panel-heading">
|
|
<h3 class="panel-title">{% trans 'Activate service' %}</h3>
|
|
</div>
|
|
<div class="panel-body">
|
|
<form role="form" action="{% url 'abonapp:activate_service' abon_group.id abon.id abtar.id %}"
|
|
method="post">{% csrf_token %}
|
|
<input name="finish_confirm" value="yes" type="hidden">
|
|
|
|
<p>
|
|
{% blocktrans with ballance=abon.ballance deadline=deadline|date:'d F Y, H:i:s' %}
|
|
Are you sure that you want activate service for the user?<br>
|
|
Note that the account will be removed from his money and open access to the resources of the paid services.<br>
|
|
Maintenance cost is {{ amount }}. On account of {{ ballance }}, will be {{ diff }}<br>
|
|
It will work until {{ deadline }}{% endblocktrans %}
|
|
</p>
|
|
|
|
<button type="submit" class="btn btn-sm btn-primary">
|
|
<span class="glyphicon glyphicon-save"></span> {% trans 'Save' %}
|
|
</button>
|
|
</form>
|
|
</div>
|
|
</div>
|
|
|
|
{% endblock %}
|