SciPost Code Repository

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

Submission page styling

parent 2736f43a
No related branches found
No related tags found
No related merge requests found
<table class="submission summary">
<tr>
<td>Title:</td>
<td>{{submission.title}}</td>
</tr>
<tr>
<td>Author(s):</td>
<td>{{submission.author_list}}</td>
</tr>
{% if not hide_title %}
<tr>
<td>Title:</td>
<td>{{submission.title}}</td>
</tr>
<tr>
<td>Author(s):</td>
<td>{{submission.author_list}}</td>
</tr>
{% endif %}
<tr>
<td>As Contributors:</td>
<td>
......
{% extends 'scipost/base.html' %}
{% load scipost_extras %}
{% load submissions_extras %}
{% block pagetitle %}: submission detail{% endblock pagetitle %}
{% block headsup %}
{% load scipost_extras %}
{% load submissions_extras %}
<script>
$(document).ready(function(){
$("#invitedreportsbutton").click(function(){
......@@ -18,26 +18,35 @@
{% endblock headsup %}
{% block breadcrumb %}
<nav class="breadcrumb py-md-2 px-0">
<div class="container">
<a href="{% url 'submissions:submissions' %}" class="breadcrumb-item">Submissions</a>
<span class="breadcrumb-item">{{submission.title}} ({{submission.arxiv_identifier_w_vn_nr}})</span>
</div>
</nav>
{% endblock %}
{% block content %}
<div class="row">
<div class="col-12">
<div class="card card-grey">
<div class="card-body">
<h1>SciPost Submission Page</h1>
{% if not submission.is_current %}
<h3 class="text-danger">This is not the current version.</h3>
{% endif %}
{% if submission.editor_in_charge and request.user.contributor == submission.editor_in_charge %}
<h3>(You are the Editor-in-charge, go to the <a href="{% url 'submissions:editorial_page' arxiv_identifier_w_vn_nr=submission.arxiv_identifier_w_vn_nr %}">Editorial Page</a> to take editorial actions)</h3>
{% endif %}
</div>
</div>
<h2>SciPost Submission Page</h2>
<h1 class="text-primary">{{submission.title}}</h1>
<h3>by {{submission.author_list}}</h3>
{% if not submission.is_current %}
<h4 class="text-danger"><b>This is not the current version.</b></h4>
{% endif %}
{% if submission.editor_in_charge and request.user.contributor == submission.editor_in_charge %}
<h4>(You are the Editor-in-charge, go to the <a href="{% url 'submissions:editorial_page' arxiv_identifier_w_vn_nr=submission.arxiv_identifier_w_vn_nr %}">Editorial Page</a> to take editorial actions)</h4>
{% endif %}
{% if submission.other_versions %}
<h3>Other versions of this Submission (with Reports) exist:</h3>
<div class="pl-4">
<h4>Other versions of this Submission (with Reports) exist:</h4>
<div>
{% for vn in submission.other_versions %}
{% include 'submissions/_submission_version.html' with submission=vn %}
{% endfor %}
......@@ -54,7 +63,8 @@
<div class="row">
<div class="col-12">
{% include 'submissions/_submission_summary.html' with submission=submission %}
<h3 class="mt-3">Submission summary</h3>
{% include 'submissions/_submission_summary.html' with submission=submission hide_title=1 %}
{% include 'submissions/_submission_status_block.html' with submission=submission %}
......
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