From 8ca07a661155c00dd2a77fd92c9272e266b445ed Mon Sep 17 00:00:00 2001
From: "J.-S. Caux" <J.S.Caux@uva.nl>
Date: Sat, 22 Oct 2016 13:58:06 +0200
Subject: [PATCH] Work on remarks

---
 comments/models.py                                        | 2 +-
 journals/templates/journals/scipost_physics_accepted.html | 2 +-
 submissions/templates/submissions/pool.html               | 8 ++++++++
 3 files changed, 10 insertions(+), 2 deletions(-)

diff --git a/comments/models.py b/comments/models.py
index 346f878e2..d442cd2ed 100644
--- a/comments/models.py
+++ b/comments/models.py
@@ -178,7 +178,7 @@ class Comment(models.Model):
         context = Context()
         if self.is_author_reply:
             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['first_name'] = self.author.user.first_name
         context['last_name'] = self.author.user.last_name
diff --git a/journals/templates/journals/scipost_physics_accepted.html b/journals/templates/journals/scipost_physics_accepted.html
index 518a35580..b1bc07695 100644
--- a/journals/templates/journals/scipost_physics_accepted.html
+++ b/journals/templates/journals/scipost_physics_accepted.html
@@ -1,6 +1,6 @@
 {% extends 'scipost/base.html' %}
 
-{% block pagetitle %}: About SciPost Physics{% endblock pagetitle %}
+{% block pagetitle %}: SciPost Physics: accepted{% endblock pagetitle %}
 
 {% block bodysup %}
 
diff --git a/submissions/templates/submissions/pool.html b/submissions/templates/submissions/pool.html
index 64077183f..7fad05347 100644
--- a/submissions/templates/submissions/pool.html
+++ b/submissions/templates/submissions/pool.html
@@ -85,6 +85,14 @@ $(document).ready(function(){
 	</p>
       </li>
     </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>
     <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>
-- 
GitLab