Skip to content

Commit

Permalink
fix: Add duplicate message on email instead of name (#1079)
Browse files Browse the repository at this point in the history
## Describe your changes

Fixes: #

## Checklist before requesting review

- [ ] Feature/fix PRs should add one atomic (as small as possible)
feature or fix.
- [ ] The code compiles and all the tests pass.
  • Loading branch information
didrikmunther authored Oct 11, 2023
1 parent 8dcdbdf commit cdc3f74
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions templates/banquet/manage_imported_invitations.html
Original file line number Diff line number Diff line change
Expand Up @@ -70,13 +70,13 @@ <h2 style="margin-top: 5rem">Confirm imported invitations</h2>
{% for row in imported %}
<tr style="{% if row.duplicate %}background-color: #c3e6cb;{% endif %}">
<td style="{% if row.invalid_name %}background-color: #ffeeba;{% endif %}">
{% if row.duplicate %}
<a href="{% url 'banquet_manage_invitation' fair.year banquet.pk row.duplicate.pk %}"
target="_blank">{{ row.name }} (duplicate)</a>
{% else %} {{ row.name }} {% endif %}
{{ row.name }}
</td>
<td style="{% if row.invalid_email %}background-color: #f5c6cb;{% endif %}">
{{ row.email }}
{% if row.duplicate %}
<a href="{% url 'banquet_manage_invitation' fair.year banquet.pk row.duplicate.pk %}"
target="_blank">{{ row.email }} (duplicate)</a>
{% else %} {{ row.email }} {% endif %}
</td>
<td style="{% if row.invalid_price %}background-color: #f5c6cb;{% endif %}">
{{ row.price }}
Expand Down

0 comments on commit cdc3f74

Please sign in to comment.