From 5591ce8e1769afef843ab299d455d777eb8886bf Mon Sep 17 00:00:00 2001 From: "J.-S. Caux" <J.S.Caux@uva.nl> Date: Sat, 26 Nov 2016 10:37:51 +0100 Subject: [PATCH] Prepare upgrade to Django 1.10: = to == in templates --- scipost/templates/scipost/comments_block.html | 2 +- submissions/templates/submissions/submission_detail.html | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/scipost/templates/scipost/comments_block.html b/scipost/templates/scipost/comments_block.html index ab747cde4..f37f9b939 100644 --- a/scipost/templates/scipost/comments_block.html +++ b/scipost/templates/scipost/comments_block.html @@ -53,7 +53,7 @@ {% for reply in author_replies %} {% if reply.in_reply_to_comment %} - {% if reply.in_reply_to_comment.id = comment.id %} + {% if reply.in_reply_to_comment.id == comment.id %} <div class="row"> <div class="col-1"></div> <hr style="border-style: dotted;" /> diff --git a/submissions/templates/submissions/submission_detail.html b/submissions/templates/submissions/submission_detail.html index 55794e1f7..53a0a20cc 100644 --- a/submissions/templates/submissions/submission_detail.html +++ b/submissions/templates/submissions/submission_detail.html @@ -154,7 +154,7 @@ {% for reply in author_replies %} {% if reply.in_reply_to_report %} - {% if reply.in_reply_to_report.id = report.id %} + {% if reply.in_reply_to_report.id == report.id %} <div class="row"> <div class="col-1"></div> <hr style="border-style: dotted;" /> @@ -229,7 +229,7 @@ {% for reply in author_replies %} {% if reply.in_reply_to_report %} - {% if reply.in_reply_to_report.id = report.id %} + {% if reply.in_reply_to_report.id == report.id %} <div class="row"> <div class="col-1"></div> <hr style="border-style: dotted;" /> -- GitLab