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.

76 lines
1.2 KiB

  1. ::use 'design.mtt'::
  2. <div class="col-md-12">
  3. <div class="article">
  4. <table class="table">
  5. <tr>
  6. <td>::_("Subject:")::</td>
  7. <td>::msg.title::</td>
  8. </tr>
  9. <tr>
  10. <td>::_("Sent on the")::</td>
  11. <td>::hDate(msg.date)::</td>
  12. </tr>
  13. <tr>
  14. <td>::_("Sender")::</td>
  15. <td>
  16. ::if msg._sender==null::
  17. inconnu
  18. ::else::
  19. ::msg._sender.firstName:: ::msg._sender.lastName::
  20. ::end::
  21. </td>
  22. </tr>
  23. <tr>
  24. <td>::_("Receiver(s)")::</td>
  25. <td>
  26. ::if list!=null::
  27. ::list::
  28. ::else::
  29. ::msg._recipients::
  30. ::end::
  31. </td>
  32. </tr>
  33. <tr>
  34. <td>::_("Status")::</td>
  35. <td>
  36. <div style="max-height:200px;overflow-y:auto;">
  37. <table class="table table-condensed" style="width:auto;">
  38. ::foreach m status::
  39. ::if m.failure!=null::
  40. <tr class="danger">
  41. <td>::m.email::</td>
  42. <td>::m.failure::</td>
  43. </tr>
  44. ::else::
  45. <tr class="success">
  46. <td>::m.email::</td>
  47. <td>::m.success::</td>
  48. </tr>
  49. ::end::
  50. ::end::
  51. </table>
  52. </div>
  53. </td>
  54. </tr>
  55. <tr>
  56. <td></td>
  57. <td>::raw msg.body::</td>
  58. </tr>
  59. </table>
  60. <a href="/messages" class="btn btn-default">::_("Back")::</a>
  61. </div>
  62. </div>
  63. ::end::