SciPost Code Repository

Skip to content
Snippets Groups Projects
Commit 22753852 authored by Jean-Sébastien Caux's avatar Jean-Sébastien Caux
Browse files

Bug fixes in [apps]/views and templates (to reflect new app structure as of v1.1)

parent f70015d6
No related branches found
No related tags found
No related merge requests found
...@@ -26,7 +26,7 @@ ...@@ -26,7 +26,7 @@
</ul> </ul>
{% if user.is_authenticated %} {% if user.is_authenticated %}
<form action="{% url 'commentaries:vote_on_commentary' commentary_id=commentary.id %}" method="post" class="ratingsdata"> <form action="{% url 'ratings:vote_on_commentary' commentary_id=commentary.id %}" method="post" class="ratingsdata">
{% csrf_token %} {% csrf_token %}
<ul> <ul>
<li>Rate this publication:</li> <li>Rate this publication:</li>
...@@ -81,7 +81,7 @@ ...@@ -81,7 +81,7 @@
</ul> </ul>
{% if user.is_authenticated %} {% if user.is_authenticated %}
<form action="{% url 'comments:vote_on_comment' comment_id=comment.id %}" method="post" class="ratingsdata"> <form action="{% url 'ratings:vote_on_comment' comment_id=comment.id %}" method="post" class="ratingsdata">
{% csrf_token %} {% csrf_token %}
<ul> <ul>
<li>Rate this comment:</li> <li>Rate this comment:</li>
......
...@@ -17,7 +17,7 @@ ...@@ -17,7 +17,7 @@
<table> <table>
<tr><td>Title: </td><td>{{ commentary_to_vet.pub_title }}</td></tr> <tr><td>Title: </td><td>{{ commentary_to_vet.pub_title }}</td></tr>
<tr><td>Author(s): </td><td>{{ commentary_to_vet.author_list }}</td></tr> <tr><td>Author(s): </td><td>{{ commentary_to_vet.author_list }}</td></tr>
<tr><td>arXiv link (including version nr): </td><td><a href="{{ commentary_to_vet.pub_DOI_link }}">{{ commentary_to_vet.pub_DOI_link }}</a></td></tr> <tr><td>arXiv link (including version nr): </td><td><a href="{{ commentary_to_vet.arxiv_link }}">{{ commentary_to_vet.arxiv_link }}</a></td></tr>
<tr><td>DOI Link: </td><td><a href="{{ commentary_to_vet.pub_DOI_link }}">{{ commentary_to_vet.pub_DOI_link }}</a></td></tr> <tr><td>DOI Link: </td><td><a href="{{ commentary_to_vet.pub_DOI_link }}">{{ commentary_to_vet.pub_DOI_link }}</a></td></tr>
<tr><td>Date published: </td><td>{{ commentary_to_vet.pub_date }}</td></tr> <tr><td>Date published: </td><td>{{ commentary_to_vet.pub_date }}</td></tr>
</table> </table>
......
...@@ -12,6 +12,9 @@ from django.db.models import Avg ...@@ -12,6 +12,9 @@ from django.db.models import Avg
from .models import * from .models import *
from .forms import * from .forms import *
from comments.models import Comment, AuthorReply
from comments.forms import CommentForm
from ratings.forms import CommentRatingForm, CommentaryRatingForm
################ ################
# Commentaries # Commentaries
...@@ -54,7 +57,7 @@ def vet_commentary_requests(request): ...@@ -54,7 +57,7 @@ def vet_commentary_requests(request):
commentary_requests_to_vet = Commentary.objects.filter(vetted=False) commentary_requests_to_vet = Commentary.objects.filter(vetted=False)
form = VetCommentaryForm() form = VetCommentaryForm()
context = {'contributor': contributor, 'commentary_requests_to_vet': commentary_requests_to_vet, 'form': form } context = {'contributor': contributor, 'commentary_requests_to_vet': commentary_requests_to_vet, 'form': form }
return render(request, 'scipost/vet_commentary_requests.html', context) return render(request, 'commentaries/vet_commentary_requests.html', context)
@csrf_protect @csrf_protect
def vet_commentary_request_ack(request, commentary_id): def vet_commentary_request_ack(request, commentary_id):
......
...@@ -12,6 +12,12 @@ from django.db.models import Avg ...@@ -12,6 +12,12 @@ from django.db.models import Avg
from .models import * from .models import *
from .forms import * from .forms import *
from commentaries.models import Commentary
from comments.models import Comment, AuthorReply
from contributors.models import Contributor
from reports.models import Report
from submissions.models import Submission
################ ################
# Registration # Registration
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
<li>Make your preprint publicly available on arXiv</li> <li>Make your preprint publicly available on arXiv</li>
<li>After appearance on arXiv, fill the SciPost <a href="{% url 'submissions:submit_manuscript' %}">Submission</a> form, choosing which SciPost Journal you wish to submit to. </li> <li>After appearance on arXiv, fill the SciPost <a href="{% url 'submissions:submit_manuscript' %}">Submission</a> form, choosing which SciPost Journal you wish to submit to. </li>
</ol> </ol>
<p>Note that you cannot submit directly to SciPost Physics Select. Submissions to SciPost Physics Letters deemed of superlative qualty will be editorially promoted to SPS.</p> <p>Note that you cannot submit directly to SciPost Physics Select or SciPost Physics X. Submissions to SciPost Physics Letters deemed of superlative quality will be editorially promoted to SPS (and similarly for articles from SciPost Physics to SciPost Physics X).</p>
<br/> <br/>
<h3>Refereeing procedure</h3> <h3>Refereeing procedure</h3>
<p>Papers submitted to SciPost are put through the <a href="{% url 'scipost:peer_witnessed_refereeing' %}">peer-witnessed refereeing</a> process, implementing the highest possible standard of refereeing. The precise procedure differs slightly between SciPost Journals but follows this pattern:</p> <p>Papers submitted to SciPost are put through the <a href="{% url 'scipost:peer_witnessed_refereeing' %}">peer-witnessed refereeing</a> process, implementing the highest possible standard of refereeing. The precise procedure differs slightly between SciPost Journals but follows this pattern:</p>
......
...@@ -12,6 +12,12 @@ from django.db.models import Avg ...@@ -12,6 +12,12 @@ from django.db.models import Avg
from .models import * from .models import *
from .forms import * from .forms import *
from comments.models import Comment, AuthorReply
from contributors.models import Contributor
from submissions.models import Submission
from comments.forms import CommentForm
from ratings.forms import CommentRatingForm, ReportRatingForm, SubmissionRatingForm
############### ###############
# SUBMISSIONS: # SUBMISSIONS:
......
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