SciPost Code Repository

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

Work on remarks

parent 22d119cf
No related branches found
No related tags found
No related merge requests found
...@@ -178,7 +178,7 @@ class Comment(models.Model): ...@@ -178,7 +178,7 @@ class Comment(models.Model):
context = Context() context = Context()
if self.is_author_reply: if self.is_author_reply:
output += 'Author ' output += 'Author '
output += ' <a href="/contributor/{{ author_id }}">{{ first_name }}{{ last_name }}</a> on ' output += ' <a href="/contributor/{{ author_id }}">{{ first_name }} {{ last_name }}</a> on '
context['author_id'] = self.author.id context['author_id'] = self.author.id
context['first_name'] = self.author.user.first_name context['first_name'] = self.author.user.first_name
context['last_name'] = self.author.user.last_name context['last_name'] = self.author.user.last_name
......
{% extends 'scipost/base.html' %} {% extends 'scipost/base.html' %}
{% block pagetitle %}: About SciPost Physics{% endblock pagetitle %} {% block pagetitle %}: SciPost Physics: accepted{% endblock pagetitle %}
{% block bodysup %} {% block bodysup %}
......
...@@ -85,6 +85,14 @@ $(document).ready(function(){ ...@@ -85,6 +85,14 @@ $(document).ready(function(){
</p> </p>
</li> </li>
</ul> </ul>
{% if rec.remark_set %}
<h4>Remarks:</h4>
<ul>
{% for rem in rec.remark_set.all %}
<li>{{ rem }}</li>
{% endfor %}
</ul>
{% endif %}
<h4>Actions:</h4> <h4>Actions:</h4>
<ul> <ul>
<li>To fix the College decision and follow the Editorial Recommendation as is: <a href="{% url 'submissions:fix_College_decision' rec_id=rec.id %}">click here</a></li> <li>To fix the College decision and follow the Editorial Recommendation as is: <a href="{% url 'submissions:fix_College_decision' rec_id=rec.id %}">click here</a></li>
......
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