From 7d9ef8c073ac36dafdd4443fb1c80fac1d6fff60 Mon Sep 17 00:00:00 2001
From: "J.-S. Caux" <J.S.Caux@uva.nl>
Date: Sun, 23 Jun 2019 10:15:52 +0200
Subject: [PATCH] Move comments_block template to comments app.

---
 commentaries/templates/commentaries/commentary_detail.html      | 2 +-
 .../scipost => comments/templates/comments}/comments_block.html | 0
 submissions/templates/submissions/submission_detail.html        | 2 +-
 theses/templates/theses/thesis_detail.html                      | 2 +-
 4 files changed, 3 insertions(+), 3 deletions(-)
 rename {scipost/templates/scipost => comments/templates/comments}/comments_block.html (100%)

diff --git a/commentaries/templates/commentaries/commentary_detail.html b/commentaries/templates/commentaries/commentary_detail.html
index 0b9158444..44796d7a0 100644
--- a/commentaries/templates/commentaries/commentary_detail.html
+++ b/commentaries/templates/commentaries/commentary_detail.html
@@ -23,7 +23,7 @@
 
   {% if commentary.comments.vetted %}
     <hr class="divider">
-    {% include 'scipost/comments_block.html' with comments=commentary.comments.vetted type_of_object='Commentary' %}
+    {% include 'comments/comments_block.html' with comments=commentary.comments.vetted type_of_object='Commentary' %}
   {% endif %}
 
   {% include 'comments/new_comment.html' with object_id=commentary.id type_of_object='commentary' open_for_commenting=commentary.open_for_commenting %}
diff --git a/scipost/templates/scipost/comments_block.html b/comments/templates/comments/comments_block.html
similarity index 100%
rename from scipost/templates/scipost/comments_block.html
rename to comments/templates/comments/comments_block.html
diff --git a/submissions/templates/submissions/submission_detail.html b/submissions/templates/submissions/submission_detail.html
index 510d67e9b..fa6a602ba 100644
--- a/submissions/templates/submissions/submission_detail.html
+++ b/submissions/templates/submissions/submission_detail.html
@@ -158,7 +158,7 @@
 
   {% if submission.comments.vetted %}
     <hr class="lg">
-    {% include 'scipost/comments_block.html' with comments=submission.comments.vetted %}
+    {% include 'comments/comments_block.html' with comments=submission.comments.vetted %}
   {% endif %}
 
 
diff --git a/theses/templates/theses/thesis_detail.html b/theses/templates/theses/thesis_detail.html
index 48e8afdf8..010e84617 100644
--- a/theses/templates/theses/thesis_detail.html
+++ b/theses/templates/theses/thesis_detail.html
@@ -16,7 +16,7 @@
 
   {% if thesislink.comments.vetted %}
     <hr class="divider">
-    {% include 'scipost/comments_block.html' with comments=thesislink.comments.vetted type_of_object='ThesisLink' %}
+    {% include 'comments/comments_block.html' with comments=thesislink.comments.vetted type_of_object='ThesisLink' %}
   {% endif %}
 
   {% include 'comments/new_comment.html' with object_id=thesislink.id type_of_object='thesislink' open_for_commenting=thesislink.open_for_commenting %}
-- 
GitLab