From 3a1742c28d8b486695df8cad09bf4934257024a8 Mon Sep 17 00:00:00 2001
From: Moreau Elise <moreau.elise13@gmail.com>
Date: Sun, 25 Oct 2020 18:16:59 +0100
Subject: [PATCH] add contaminated information in user's profile

---
 templates/user/user_profile.twig | 1 +
 1 file changed, 1 insertion(+)

diff --git a/templates/user/user_profile.twig b/templates/user/user_profile.twig
index fc4e1ae..127760c 100644
--- a/templates/user/user_profile.twig
+++ b/templates/user/user_profile.twig
@@ -7,6 +7,7 @@
       <div class="meta">
         <span class="date">Joined the {{user.joinDateString}}</span>
       </div>
+        <span>Is {% if user.contaminated %} contaminated {% else %} not contaminated {% endif %}</span>
       <div class="extra content" id="icons_users">
           <div class="ui small basic icon buttons">
             {% if session.userId == user.getId %}
-- 
GitLab