Skip to content
Snippets Groups Projects

Publikace výsledkovky na web MO

Merged Jiří Kalvoda requested to merge jk/vysledkovka into devel
2 files
+ 19
2
Compare changes
  • Side-by-side
  • Inline

Files

@@ -10,6 +10,20 @@
@@ -10,6 +10,20 @@
{% endblock %}
{% endblock %}
{% block body %}
{% block body %}
 
 
{% set b_win = scoretable.score_metadata.get('boundary',{}).get('winner',None) %}
 
{% set b_suc = scoretable.score_metadata.get('boundary',{}).get('successful',None) %}
 
{% if b_suc is not none or b_win is not none %}
 
<p>
 
{% if b_suc is not none %}
 
Úspěšným řešitelem se stává každý, kdo získá alespoň {{ b_suc |parse_decimal| inflected("bod", "body", "bodů") }} bodů.
 
{% endif %}
 
{% if b_win is not none %}
 
Vítězem se stává každý, kdo získá alespoň {{ b_win |parse_decimal| inflected("bod", "body", "bodů") }}.
 
{% endif %}
 
</p>
 
{% endif %}
 
{{ table.to_html() }}
{{ table.to_html() }}
{% endblock %}
{% endblock %}
Loading