Skip to content

Commit

Permalink
feat(fol): add apology
Browse files Browse the repository at this point in the history
  • Loading branch information
rkuklik committed Nov 20, 2024
1 parent e7de051 commit f072940
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Justfile
Original file line number Diff line number Diff line change
Expand Up @@ -101,11 +101,14 @@ login:
echo "$1" >> "$file"
}
i "parameters:"
i " # FKSDB API endpoint"
i " fksdbDownloader:"
i " login: '$fksdblogin'"
i " password: '$fksdbpassword'"
i " url: 'https://db.fykos.cz/api/'"
i " gameApi:"
i " url: 'https://game.online.fyziklani.cz/public/api/results'"
i " login: ''"
i " password: ''"
i " problemManagerDownloader:"
i " login: ''"
i " password: ''"
Expand Down
39 changes: 39 additions & 0 deletions app/Modules/Fol/DefaultModule/templates/Default/default.latte
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,45 @@
{/if}
</div>
</div>
<div class="col-md-6 left-block">
{switch $language->value}
{case 'cs'}
<h1>
Omluva za chybu v překladu
</h1>
<div class="subheader">
Úloha 14
</div>
<p>
Je nám líto, ale objevila se chyba v překladu úlohy 14. Omlouváme se za způsobené komplikace.
</p>
<p>
Pro zachování férovosti soutěže proto rušíme veškeré bodové
penalizace za chybné odpovědi odevzdané před <strong>18:11 CET</strong>.
</p>
<p>
Děkujeme za pochopení a vaši účast v soutěži!
</p>
{default}
<h1>
Apology for Translation Error
</h1>
<div class="subheader">
Problem 14
</div>
<p>
We regret to inform you that there was a mistake in the translation of
Problem 14. We sincerely apologize for any inconvenience this may have caused.
</p>
<p>
To address this issue fairly, we will cancel any penalties for incorrect
answers to this problem until <strong>18:11 CET</strong>.
</p>
<p>
Thank you for your understanding and for competing!
</p>
{/switch}
</div>
<div class="col-md-6 right-block topic-panel">
{* {if $newestEvent->getRegistrationPeriod()->is(Fykosak\Utils\DateTime\Phase::before)}
{control upperHomeBeforeRegistration}
Expand Down

0 comments on commit f072940

Please sign in to comment.