Show user's main on hover if they signed up as an alt.

This commit is contained in:
Casper V. Kristensen 2020-01-02 03:55:59 +01:00
parent a2d1e753c1
commit 2bda918954
Signed by: caspervk
GPG key ID: 289CA03790535054

View file

@ -72,7 +72,11 @@
<div class="d-flex flex-column mr-2 mb-4"> <div class="d-flex flex-column mr-2 mb-4">
{% for response in class_responses %} {% for response in class_responses %}
<a class="btn response-character-button mb-1 btn-class-{{ response.character.klass }}" role="button" href="#"> <a class="btn response-character-button mb-1 btn-class-{{ response.character.klass }}" role="button" href="#">
{% if response.character != response.character.user.main %}
<abbr title="{{ response.character.user.main }}">{{ response.character.name }}</abbr>
{% else %}
{{ response.character.name }} {{ response.character.name }}
{% endif %}
</a> </a>
{% endfor %} {% endfor %}
</div> </div>