{% extends "base.html" %} {% block title %}Katalog poznávaček – Poznávačky{% endblock %} {% block content %}

Poznávačky

{% if selected_grade is not none or selected_category %} Zrušit filtry {% endif %}
{% if quiz_sets %}
{% for s in quiz_sets %}
{% if s['cover_thumb'] %} {% endif %}

{{ s['nazev'] }}

{% if s['rocnik'] %}{{ s['rocnik'] }}. ročník{% endif %} {% if s['rocnik'] and s['kategorie'] %} · {% endif %} {% if s['kategorie'] %}{{ s['kategorie'] }}{% endif %} {% if s['rocnik'] or s['kategorie'] %} · {% endif %} {{ s['playable_count'] }} položek

{% if s['popis'] %}

{{ s['popis'] }}

{% endif %} {% if is_authenticated %} {% set mastery = user_mastery.get(s['id']) %} {% if mastery %}

Mistrovství: {{ mastery.mastery_percent }} %

{% endif %} {% set bests = user_bests.get(s['id'], {}) %} {% if bests %}

Rekord: {% if 'psani' in bests %} Psaní {{ bests['psani']['body'] }} b. ({{ bests['psani']['presnost_percent'] }} %) {% endif %} {% if 'psani' in bests and 'abcd' in bests %} | {% endif %} {% if 'abcd' in bests %} A–D {{ bests['abcd']['body'] }} b. ({{ bests['abcd']['presnost_percent'] }} %) {% endif %}

{% endif %} {% else %} {% endif %}
{% endfor %}
{% else %}

Žádná publikovaná poznávačka neodpovídá zvolenému filtru.

{% endif %} {% if not is_authenticated %} {% endif %} {% endblock %}