From 80d811963e85cd26071cbd25a834702e944a8f9b Mon Sep 17 00:00:00 2001
From: Radko Krkos <krkos@cesnet.cz>
Date: Fri, 6 May 2022 16:25:02 +0200
Subject: [PATCH] Fix report feedback template fixture

* This was missed during the migration to Jinja 3.
* In Jinja 2.10, the parameter 'indentfirst' of function do_indent()
  was marked deprecated and a functionally identical 'first' was added.
* In Jinja 3.0, the deprecated functionality was removed, in this
  upstream commit:
  https://github.com/pallets/jinja/commit/b0015c72d5acbf93b9d99a1ce6167889338db85b

(Redmine issue: #7583)
---
 .../reports/templates/reports/email_report_feedback.txt         | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/hawat/blueprints/reports/templates/reports/email_report_feedback.txt b/lib/hawat/blueprints/reports/templates/reports/email_report_feedback.txt
index ba3b217af..8c963798b 100644
--- a/lib/hawat/blueprints/reports/templates/reports/email_report_feedback.txt
+++ b/lib/hawat/blueprints/reports/templates/reports/email_report_feedback.txt
@@ -9,7 +9,7 @@
 
 {{ _('Message by user:') | wordwrap }}
 
-{{ text | wordwrap(width=75, break_long_words=False) | indent(width=4, indentfirst=True) }}
+{{ text | wordwrap(width=75, break_long_words=False) | indent(width=4, first=True) }}
 
 {{ _('Link to report:') | wordwrap }}
 
-- 
GitLab