mirror of
https://github.com/OpenBankProject/API-Manager.git
synced 2026-02-06 17:46:53 +00:00
Replaced developer email by description in consumers list #19
Also added bottom margin to action buttons
This commit is contained in:
parent
1f9c305ede
commit
6c2090a579
@ -18,3 +18,7 @@
|
||||
#consumers .filter a {
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
#consumers .actions .btn {
|
||||
margin-bottom: 2px;
|
||||
}
|
||||
|
||||
@ -54,7 +54,7 @@
|
||||
<thead>
|
||||
<th>ID</th>
|
||||
<th>Name</th>
|
||||
<th>Developer Email</th>
|
||||
<th>Description</th>
|
||||
<th>Created</th>
|
||||
<th>Action</th>
|
||||
</thead>
|
||||
@ -65,9 +65,9 @@
|
||||
{% url 'consumers-detail' consumer.consumer_id as url_detail %}
|
||||
<td>{{ consumer.consumer_id }}</td>
|
||||
<td class="select"><a href="{{ url_detail }}">{{ consumer.app_name }}</a></td>
|
||||
<td class="select">{{ consumer.developer_email }}</td>
|
||||
<td class="select">{{ consumer.description|truncatechars:80 }}</td>
|
||||
<td class="select">{{ consumer.created|naturaltime }}</td>
|
||||
<td>
|
||||
<td class="actions">
|
||||
<form action="{% if consumer.enabled %}{% url 'consumers-disable' consumer.consumer_id %}{% else %}{% url 'consumers-enable' consumer.consumer_id %}{% endif %}?{{ request.GET.urlencode }}" method="post">
|
||||
{% csrf_token %}
|
||||
{% if consumer.enabled %}<button class="btn btn-primary btn-red">Disable</button>{% else %}<button class="btn btn-primary btn-green">Enable</button>{% endif %}
|
||||
@ -75,13 +75,6 @@
|
||||
</form>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="5" class="noborder">
|
||||
<div class="well">
|
||||
{{ consumer.description|truncatechars:80 }}
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
{% endfor %}
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user