diff --git a/submissions/templates/submissions/pool/recommendation.html b/submissions/templates/submissions/pool/recommendation.html index 0cfa1f3bd62d3481fb6fabcd8a6978cd03bfe67c..76267030293bac227d50f9272a1d9ada3e3a66e9 100644 --- a/submissions/templates/submissions/pool/recommendation.html +++ b/submissions/templates/submissions/pool/recommendation.html @@ -166,11 +166,24 @@ {% if recommendation.alternativerecommendation_set.all|length > 0 %} <h3>Alternative recommendations offered during voting by Fellows who disagreed:</h3> - <ul> + <table class="table table-bordered"> + <thead> + <tr> + <th class="py-1">Fellow</th> + <th class="py-1">For Journal</th> + <th class="py-1">Alternative Recommendation</th> + </tr> + </thead> + <tbody> {% for altrec in recommendation.alternativerecommendation_set.all %} - <li>{{ altrec.fellow }}: for Journal <em>{{ altrec.for_journal }}</em>: <strong>{{ altrec.get_recommendation_display }}</strong></li> + <tr> + <td>{{ altrec.fellow }}</td> + <td>{{ altrec.for_journal }}</td> + <td>{{ altrec.get_recommendation_display }}</td> + </tr> {% endfor %} - </ul> + </tbody> + </table> {% endif %} <h3 class="card-title">Remarks:</h3> diff --git a/submissions/templates/submissions/submission_form.html b/submissions/templates/submissions/submission_form.html index fa5eaef81bd34bfa7843c8d893d4af2218f3e34f..17d7e33e76a5d6013e1482d5fcd2342c4db6ae30 100644 --- a/submissions/templates/submissions/submission_form.html +++ b/submissions/templates/submissions/submission_form.html @@ -13,12 +13,13 @@ {% block footer_script %} <script type="text/javascript" nonce="{{ request.csp_nonce }}"> $(document).ready(function(){ + $("#id_proceedings, #id_submission_type").parents('.form-group').hide() $('select#id_submitted_to').on('change', function (){ var selection = $(this).val(); $("#id_proceedings, #id_submission_type").parents('.form-group').hide() switch(selection){ - case "{{ id_SciPostPhys_DEPREC }}": + case "{{ id_SciPostPhys }}": $("#id_submission_type").parents('.form-group').show() break; case "{{ id_SciPostPhysProc }}":