From ec2b6febdde1e2876b4f182a187e10ad377748ca Mon Sep 17 00:00:00 2001 From: Burathar Date: Sat, 12 Feb 2022 00:01:38 +0100 Subject: [PATCH] Add found-by table --- app/templates/objective.html | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/app/templates/objective.html b/app/templates/objective.html index 19b0918..7cb9b69 100644 --- a/app/templates/objective.html +++ b/app/templates/objective.html @@ -56,6 +56,31 @@
+{% if owner and objective.objective_found_by %} + +
+

Found by:

+
+ + + + + + + + + {% for ofbp in objective.objective_found_by %} + + + + + {% endfor %} + +
Player nameTime
{{ ofbp.game_player.user.name }}{{ moment(ofbp.timestamp).fromNow() }}
+
+
+{% endif %} + {% endblock %}