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.

46 lines
989 B

  1. ::use 'design.mtt'::
  2. <div class="col-md-12">
  3. <div class="article">
  4. <h2>::_("Waiting list")::</h2>
  5. <table class="table">
  6. <tr>
  7. <th>::_("Name")::</th>
  8. <th>::_("Email")::</th>
  9. <th>::_("Phone")::</th>
  10. <th>::_("Registration date")::</th>
  11. <th>::_("Message")::</th>
  12. <th></th>
  13. </tr>
  14. ::foreach w waitingList::
  15. <tr>
  16. ::set u = w._user::
  17. <td>::u.getName()::</td>
  18. <td>::u.email::</td>
  19. <td>$$nullSafe(::u.phone::)</td>
  20. <td>::hDate(w.date)::</td>
  21. <td>"::w.message::"</td>
  22. <td class="col-md-4">
  23. <a href="/member/waiting?add=::u.id::" class="btn btn-primary btn-sm">
  24. <span class="glyphicon glyphicon-ok"></span>
  25. ::_("Accept membership request")::
  26. </a>
  27. <a href="/member/waiting?remove=::u.id::" class="btn btn-default btn-sm">
  28. <span class="glyphicon glyphicon-remove"></span>
  29. ::_("Deny request")::</a>
  30. </td>
  31. </tr>
  32. ::end::
  33. </table>
  34. </div>
  35. </div>
  36. ::end::