{% extends "catbase.html" %} {% if not session["user_logged"] or not session["user_can_edit"] %} {% set readonly="readonly" %} {% else %} {% set readonly=False %} {% endif %} {% if not session["user_logged"] or not session["user_can_edit"] %} {% set readonly="readonly" %} {% else %} {% set readonly=False %} {% endif %} {% block title %}{{current_repository}}: Atelier{% endblock title %} {% block head %} {{ super() }} {% endblock head %} {% block navbar_items %} {{ super() }} {% if session.get("user_logged", None) %}
  • >
  • Atelier
  • {% endif %} {% endblock navbar_items %} {% block repo_list %} {{ super() }} {% endblock repo_list %} {% block page_content %}

    CatEdit - {{current_repository}}

    Créer une catégorie :

    {% if session["user_logged"] and not session["user_can_edit"] %} {% endif %}

    Mes catégories

    {% if not session["user_logged"] %} {% else %} {% if cat_list|length == 0 %} {% else %} {% for cat in cat_list %} {% if (cat.state != "deleted") %} {% endif %} {% if (cat.state == "untouched") %} {% elif (cat.state == "created" or cat.state == "modified") %} {% else %} {% endif %} {% endfor %} {% endif %} {% endif %}
    Nom de la catégorie Description de la catégorie
    Attention: Veuillez vous identifier pour visualiser les catégories
    Aucune catégorie n'a été créée pour l'instant. {% if not readonly %}Créer une catégorie{% endif %}
    {{ cat.cat_label }} {{ cat.cat_description}}
    {% if cat.cat_properties|length == 0 %}
    Aucune autre propriété
    {% else %} {% for (predicate, object) in cat.cat_properties %}
    {{ config["PROPERTY_LIST"][predicate]["descriptive_label_fr"] }}
    {% if config["PROPERTY_LIST"][predicate]["object_type"]=="uriref-category" %} {% for cat in cat_list %} {% if object == config["CATEGORY_NAMESPACE"]+cat.cat_id %} {{ cat.cat_label }} {% endif %} {% endfor %} {% elif config["PROPERTY_LIST"][predicate]["object_type"]=="uriref-link" %} {{ object }} {% else %} {{ object }} {% endif %}
    {% endfor %} {% endif %}
    {% if session.get("user_logged") %}

    Annuler tous mes changements actuels :

    Soumettre mes changements actuels :

    {% endif %}

    Consulter l'historique des modifications :

    {% endblock page_content %}