diff --git a/src/postorius/doc/news.rst b/src/postorius/doc/news.rst index 458e288..94cea12 100644 --- a/src/postorius/doc/news.rst +++ b/src/postorius/doc/news.rst @@ -33,6 +33,7 @@ * URLs now contain the list-id instead of the fqdn_listname. Contributed by Abhilash Raj (LP: 1201150). * Fix small bug moderator/owner forms on list members page. Contributed by Pranjal Yadav (LP: 1308219). * Fix broken translation string on the login page. Contributed by Pranjal Yadav. +* Show held message details in a modal window. Contributed by Abhilash Raj (LP: 1004049). 1.0 beta 1 -- "Year of the Parrot" diff --git a/src/postorius/static/postorius/css/style.css b/src/postorius/static/postorius/css/style.css index 6423b93..c3bbf3a 100755 --- a/src/postorius/static/postorius/css/style.css +++ b/src/postorius/static/postorius/css/style.css @@ -244,6 +244,11 @@ display: block; } +/* Held message details modal */ +.held-message-details { + text-align: left; +} + /* Mouseover help */ span.more_info { border-bottom: thin dotted; diff --git a/src/postorius/templates/postorius/lists/held_messages.html b/src/postorius/templates/postorius/lists/held_messages.html index e63b5c9..0a8b3c6 100644 --- a/src/postorius/templates/postorius/lists/held_messages.html +++ b/src/postorius/templates/postorius/lists/held_messages.html @@ -25,12 +25,27 @@ {{ msg.sender }} {{ msg.reason }} {{ msg.hold_date }} + + {% trans 'View' %} + {% trans 'Accept' %} {% trans 'Defer' %} {% trans 'Reject' %} {% trans 'Discard' %} - + +