SciPost Code Repository

Skip to content
Snippets Groups Projects
Commit fe10a964 authored by Jorran de Wit's avatar Jorran de Wit
Browse files

Improve SRH boxes

parent 9dc8338a
No related branches found
No related tags found
No related merge requests found
{% if comments %}
<ul class="{{ css_class|default:'' }}">
{% for comment in comments %}
<li><a href="{{ comment.get_absolute_url }}">{% if comment.is_author_reply %}Author Reply{% else %}Comment{% endif %} by {{ comment.author.get_title_display }} {{ comment.author.user.last_name }} on {{ comment.date_submitted|date:'DATE_FORMAT' }}</a></li>
<li><a href="{{ comment.get_absolute_url }}"{% if target_blank %} target="_blank"{% endif %}>{% if comment.is_author_reply %}Author Reply{% else %}Comment{% endif %} by {{ comment.author.get_title_display }} {{ comment.author.user.last_name }} on {{ comment.date_submitted|date:'DATE_FORMAT' }}</a></li>
{% include 'partials/comments/comments_list.html' with comments=comment.nested_comments.vetted css_class='m-0 pl-4' %}
{% endfor %}
</ul>
......
......@@ -13,7 +13,14 @@
</div>
<div class="card-body px-0">
{% include 'partials/submissions/pool/submission_info_table.html' with submission=submission %}
<div class="row">
<div class="col-md-8">
{% include 'partials/submissions/pool/submission_info_table.html' with submission=submission %}
</div>
<div class="col-md-4">
{% include 'partials/submissions/submission_refereeing_history.html' with submission=submission target_blank=1 %}
</div>
</div>
</div>
<div>
......
......@@ -5,16 +5,16 @@
<h3 class="card-title">Submission & Refereeing History</h3>
{% for sibling in submission.thread %}
<div class="my-2">
{% if forloop.last %}Submission{% else %}Resubmission{% endif %} <a href="{{ sibling.get_absolute_url }}" class="pubtitleli">{{ sibling.arxiv_identifier_w_vn_nr }}</a> ({{ sibling.submission_date|date:'j F Y' }})
{% if forloop.last %}Submission{% else %}Resubmission{% endif %} <a href="{{ sibling.get_absolute_url }}" class="pubtitleli"{% if target_blank %} target="_blank"{% endif %}>{{ sibling.arxiv_identifier_w_vn_nr }}</a> ({{ sibling.submission_date|date:'j F Y' }})
</div>
<ul class="m-0 pl-4">
{% for report in sibling.reports.accepted %}
<li><a href="{{ report.get_absolute_url }}">Report {{ report.report_nr }} submitted on {{ report.date_submitted }} by {% if report.anonymous %}<em>Anonymous</em>{% else %}{{ report.author.get_title_display }} {{ report.author.user.last_name }}{% endif %}</a></li>
{% include 'partials/comments/comments_list.html' with comments=report.comments.vetted css_class='my-1 pl-4' %}
<li><a href="{{ report.get_absolute_url }}"{% if target_blank %} target="_blank"{% endif %}>Report {{ report.report_nr }} submitted on {{ report.date_submitted }} by {% if report.anonymous %}<em>Anonymous</em>{% else %}{{ report.author.get_title_display }} {{ report.author.user.last_name }}{% endif %}</a></li>
{% include 'partials/comments/comments_list.html' with comments=report.comments.vetted css_class='my-1 pl-4' target_blank=target_blank %}
{% endfor %}
</ul>
{% include 'partials/comments/comments_list.html' with comments=sibling.comments.vetted css_class='my-1 pl-4' %}
{% include 'partials/comments/comments_list.html' with comments=sibling.comments.vetted css_class='my-1 pl-4' target_blank=target_blank %}
{% endfor %}
</div>
</div>
......@@ -15,36 +15,16 @@
{% is_edcol_admin request.user as is_editorial_admin %}
<h2>Editorial Page for Submission</h2>
<h1 class="text-primary">{{submission.title}}</h1>
<h3>by {{submission.author_list}}</h3>
<div class="ml-2 mt-2">
<h3>- Go to the <a href="{% url 'submissions:submission' arxiv_identifier_w_vn_nr=submission.arxiv_identifier_w_vn_nr %}">Submissions Page</a> to view Reports and Comments</h3>
{% if submission.other_versions_pool or not submission.is_current %}
<ul class="mt-3 mb-1 list-unstyled pl-4">
{% if not submission.is_current %}
<li>
<h4><span class="text-danger"><b>This is not the editorial page for the current version.</b> Please go to the current version's page.</span></h4>
</li>
{% endif %}
{% if submission.other_versions_pool %}
<li>Other versions of this Submission exist:</li>
<ul class="list-unstyled">
{% for vn in submission.other_versions_pool %}
<li>{% include 'submissions/_submission_version.html' with submission=vn editorial_page=1 %}</li>
{% endfor %}
</ul>
{% endif %}
</ul>
{% endif %}
</div>
<div class="row">
<div class="col-md-8">
<h2>Editorial Page for Submission</h2>
<h1 class="text-primary">{{submission.title}}</h1>
<h3>by {{submission.author_list}}</h3>
<div class="ml-2 mt-2">
<h3>- Go to the <a href="{% url 'submissions:submission' arxiv_identifier_w_vn_nr=submission.arxiv_identifier_w_vn_nr %}">Submissions Page</a> to view Reports and Comments</h3>
</div>
<div class="row">
<div class="col-12">
<h3 class="mt-4">Submission summary</h3>
{% include 'submissions/_submission_summary_short.html' with submission=submission hide_title=1 %}
......@@ -73,11 +53,8 @@
<h3>Referees flagged upon submission (treat reports with caution):</h3>
<div class="pl-md-4">{{ submission.referees_flagged }}</div>
{% endif %}
</div>
</div>
<div class="row">
<div class="col-12">
{% for recommendation in submission.eicrecommendations.all %}
{% include 'submissions/_recommendation_author_content.html' with recommendation=recommendation %}
{% if recommendation.may_be_reformulated %}
......@@ -85,8 +62,12 @@
{% endif %}
{% endfor %}
</div>
<div class="col-md-4">
{% include 'partials/submissions/submission_refereeing_history.html' with submission=submission %}
</div>
</div>
<div class="card card-grey my-4">
<div class="card-body">
<h2 class="card-title">Editorial Workflow</h2>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment