Abhilash Raj has proposed merging lp:~raj-abhilash1/postorius/bug_1004049 into lp:postorius.
Requested reviews: Mailman Coders (mailman-coders) For more details, see: https://code.launchpad.net/~raj-abhilash1/postorius/bug_1004049/+merge/246928 Fixes #1004049 -- Your team Mailman Coders is requested to review the proposed merge of lp:~raj-abhilash1/postorius/bug_1004049 into lp:postorius.
=== modified file 'src/postorius/templates/postorius/lists/held_messages.html' --- src/postorius/templates/postorius/lists/held_messages.html 2015-01-17 17:23:59 +0000 +++ src/postorius/templates/postorius/lists/held_messages.html 2015-01-19 17:54:06 +0000 @@ -25,6 +25,25 @@ <td>{{ msg.sender }}</td> <td>{{ msg.reason }}</td> <td>{{ msg.hold_date }}</td> + <td><!-- Button trigger modal --> + <button type="button" class="btn btn-primary btn-small" data-toggle="modal" data-target="#msg-{{ msg.request_id }}"> + View + </button> + + <!-- Modal --> + <div class="modal fade" id="msg-{{ msg.request_id }}" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true"> + <div class="modal-dialog"> + <div class="modal-content"> + <div class="modal-header"> + <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">×</span></button> + <h4 class="modal-title">Subject: {{ msg.subject }}</h4> + </div> + <div class="modal-body"> + {{ msg.msg | linebreaks }} + </div> + </div> + </div> + </td> <td class="mm_action"> <a href="{% url 'accept_held_message' list.fqdn_listname msg.request_id %}" class="btn btn-mini btn-success">{% trans 'Accept' %}</a> <a href="{% url 'defer_held_message' list.fqdn_listname msg.request_id %}" class="btn btn-mini btn-warning">{% trans 'Defer' %}</a>
_______________________________________________ Mailman-coders mailing list Mailman-coders@python.org https://mail.python.org/mailman/listinfo/mailman-coders