Simplify output to not show native class and place

No combinations of competitions are possible currently
This commit is contained in:
Christian Wolf 2024-03-06 18:26:32 +01:00
parent 70e7008f9c
commit e4aa47cfe6
2 changed files with 4 additions and 7 deletions

View File

@ -116,10 +116,10 @@ class ConsoleOutputter(AbstractOutputter):
placeNative = str(result.nativePlace) placeNative = str(result.nativePlace)
place = str(result.place) place = str(result.place)
lineOne = f"{placeNative} ({result.nativeClass})" lineOne = f"{placeNative}"
lineTwo = f"[{place} in {result.competitionClass}]" # lineTwo = f"[{place} in {result.competitionClass}]"
lines = [lineOne, lineTwo] lines = [lineOne]
if not result.finalist: if not result.finalist:
lines = ["kein/e Finalist/in"] + lines lines = ["kein/e Finalist/in"] + lines

View File

@ -44,10 +44,7 @@
Kein/e Finalist/in <br /> Kein/e Finalist/in <br />
{% endif %} {% endif %}
<span class="{% if not res.finalist %}no-finalist-dance{% endif %}"> <span class="{% if not res.finalist %}no-finalist-dance{% endif %}">
{{ res.getNativePlace() }} ({{ res.nativeClass }}) <br /> {{ res.getNativePlace() }}
</span>
<span class="competition-place">
{{ res.place }} in {{ res.competitionClass }}
</span> </span>
{% endif %} {% endif %}
</td> </td>