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.
50 lines
1.8 KiB
50 lines
1.8 KiB
{% extends '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 class="active">{% trans 'Subscribers actions' %}</li>
|
|
</ol>
|
|
|
|
{% include 'message_block.html' %}
|
|
|
|
<h3>{% trans 'History of subscriber' %}</h3>
|
|
<div class="table-responsive">
|
|
<table class="table table-striped table-bordered">
|
|
<thead>
|
|
<tr>
|
|
<th>{% trans 'Sum' %}</th>
|
|
<th>{% trans 'Sub' %}</th>
|
|
<th>{% trans 'Comment' %}</th>
|
|
<th width="250">{% trans 'Date' %}</th>
|
|
<th width="150">{% trans 'Author' %}</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
{% for l in logs %}
|
|
<tr>
|
|
<td>{% if l.amount >= 0 %}
|
|
<span class="glyphicon glyphicon-hand-up"></span>
|
|
{% else %}
|
|
<span class="glyphicon glyphicon-hand-down"></span>
|
|
{% endif %} {{ l.amount }}</td>
|
|
<td><a href="{% url 'abonapp:abon_home' l.abon.group.id l.abon.id %}">{{ l.abon.username }}</a></td>
|
|
<td>{{ l.comment }}</td>
|
|
<td>{{ l.date|date:"D d E Y H:i:s" }}</td>
|
|
<td><a href="{% url 'acc_app:other_profile' l.author.id %}">{{ l.author.username }}</a></td>
|
|
</tr>
|
|
{% empty %}
|
|
<tr>
|
|
<td colspan="5">{% trans 'Actions not found' %}</td>
|
|
</tr>
|
|
{% endfor %}
|
|
</tbody>
|
|
|
|
</table>
|
|
</div>
|
|
|
|
{% include 'toolbar_page.html' with pag=logs %}
|
|
|
|
{% endblock %}
|