diff --git a/uffd/mail/templates/mail_list.html b/uffd/mail/templates/mail_list.html index 844689516dc0d78d21a2126b4d886319db1ad6ff..f994b140ea7b842eba6b6fb19a86d89768a35fa4 100644 --- a/uffd/mail/templates/mail_list.html +++ b/uffd/mail/templates/mail_list.html @@ -3,19 +3,17 @@ {% block body %} <div class="row"> <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"> <thead> <tr> <th scope="col">name</th> <th scope="col">receiving address</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> </thead> <tbody> @@ -27,26 +25,19 @@ </a> </th> <td> - <ul> + <ul class="m-0"> {% for i in mail.receivers %} <li>{{ i }}</li> {% endfor %} </ul> </td> <td> - <ul> + <ul class="m-0"> {% for i in mail.destinations %} <li>{{ i }}</li> {% endfor %} </ul> </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> {% endfor %} </tbody>