Skip to content
Snippets Groups Projects
Verified Commit 80f50950 authored by nd's avatar nd
Browse files

condense mail list

parent 0e2f698e
Branches
Tags
No related merge requests found
...@@ -3,19 +3,17 @@ ...@@ -3,19 +3,17 @@
{% block body %} {% block body %}
<div class="row"> <div class="row">
<div class="col"> <div class="col">
<p class="text-right">
<a class="btn btn-primary" href="{{ url_for("mail.show") }}">
<i class="fa fa-plus" aria-hidden="true"></i> New
</a>
</p>
<table class="table table-striped table-sm"> <table class="table table-striped table-sm">
<thead> <thead>
<tr> <tr>
<th scope="col">name</th> <th scope="col">name</th>
<th scope="col">receiving address</th> <th scope="col">receiving address</th>
<th scope="col">destinations</th> <th scope="col">destinations</th>
<th scope="col">
<p class="text-right">
<a class="btn btn-primary" href="{{ url_for("mail.show") }}">
<i class="fa fa-plus" aria-hidden="true"></i> New
</a>
</p>
</th>
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
...@@ -27,26 +25,19 @@ ...@@ -27,26 +25,19 @@
</a> </a>
</th> </th>
<td> <td>
<ul> <ul class="m-0">
{% for i in mail.receivers %} {% for i in mail.receivers %}
<li>{{ i }}</li> <li>{{ i }}</li>
{% endfor %} {% endfor %}
</ul> </ul>
</td> </td>
<td> <td>
<ul> <ul class="m-0">
{% for i in mail.destinations %} {% for i in mail.destinations %}
<li>{{ i }}</li> <li>{{ i }}</li>
{% endfor %} {% endfor %}
</ul> </ul>
</td> </td>
<td>
<p class="text-right">
<a href="{{ url_for("mail.show", uid=mail.uid) }}" class="btn btn-primary">
<i class="fa fa-edit" aria-hidden="true"></i> Edit
</a>
</p>
</td>
</tr> </tr>
{% endfor %} {% endfor %}
</tbody> </tbody>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment