From 2bda918954ae38c3ac07564e72c7ddf509b98e83 Mon Sep 17 00:00:00 2001 From: "Casper V. Kristensen" Date: Thu, 2 Jan 2020 03:55:59 +0100 Subject: [PATCH] Show user's main on hover if they signed up as an alt. --- drakul/raids/templates/raids/raid_detail.html | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/drakul/raids/templates/raids/raid_detail.html b/drakul/raids/templates/raids/raid_detail.html index 87626f4..17dbce2 100644 --- a/drakul/raids/templates/raids/raid_detail.html +++ b/drakul/raids/templates/raids/raid_detail.html @@ -72,7 +72,11 @@
{% for response in class_responses %} - {{ response.character.name }} + {% if response.character != response.character.user.main %} + {{ response.character.name }} + {% else %} + {{ response.character.name }} + {% endif %} {% endfor %}