From b857bd96a73b5c014b5db0d70c8cc6796d4f1cba Mon Sep 17 00:00:00 2001 From: MusikAnimal Date: Tue, 13 Feb 2024 11:11:48 -0500 Subject: [PATCH] Only show iThenticate report link if user is logged in This is a requirement from Turnitin --- templates/feed.html.twig | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/templates/feed.html.twig b/templates/feed.html.twig index 8ee9fe9..cee0216 100644 --- a/templates/feed.html.twig +++ b/templates/feed.html.twig @@ -157,10 +157,12 @@ {% endfor %} {% endif %} - - - {{ msg('record-ithenticate') }} - + {% if logged_in_user() %} + + + {{ msg('record-ithenticate') }} + + {% endif %} {% endfor %}