{% extends "base.html" %}{% block title %}KI4TUK My RATs{% endblock %}{% block content %}

Willkommen {{user.username}}


Erstelle Rat {% if user.user_rights > 3 %} Aktualisiere verfügbare RATs {% endif %}
{% if user.rats|length == 0 %} Keine RATs vorhanden {% endif %}

Meine RATs


{% set ns = namespace(found=false) %} {% for rat in user.rats %} {% for question in rat.rat_questions %} {% endfor %} {% if rat.approved %} {% else %} {% endif %} {% endfor %}
ID Erstelldatum Themen Konzepte Hilfsmaterial Vorschau Freigegeben
{{ rat.id }} {{ rat.date }} {% if rat.subjects_and_conceptss|length >=1 %}
    {% set ns.written_subjects = [] %} {% for subject1 in rat.subjects_and_conceptss %} {% if (subject1.subject in ns.written_subjects ) %} {% else %}
  1. {{ subject1.subject }}
  2. {% set _ = ns.written_subjects.append(subject1.subject) %} {% endif %} {% endfor %}
{% endif %}
{% if rat.subjects_and_conceptss|length >=1 %}
    {% set ns.written_concepts = [] %} {% for subject1 in rat.subjects_and_conceptss %} {% if (subject1.concept in ns.written_concepts ) %} {% else %}
  1. {{ subject1.concept }}
  2. {% set _ = ns.written_concepts.append(subject1.concept) %} {% endif %} {% endfor %}
{% endif %}
{{ rat.help_materials|length }}{{read_file(data_save_path + "/" + question.file_path)[0:40]}}...

X

Bearbeiten





{% endblock %} {% block scripts %} {% endblock %}