{% if not session["user_logged"] or not session["user_can_edit"] %} {% set readonly="readonly" %} {% else %} {% set readonly=False %} {% endif %} Soumettre mes changements

CatEdit - {{config.get("REPOSITORY_NAME", "Titre-Ensemble-Catégories")}}

Catégories existantes

{% if not session["user_logged"] %} {% else %} {% if cat_list|length == 0 %} {% else %} {% for cat in cat_list %} {% if cat.cat_id not in deleted_cat_namelist and cat.cat_id not in modified_cat_namelist %} {% 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 %}

Mes modifications

{% if not session["user_logged"] %} {% else %} {% if created_cat_list|length == 0 %} {% else %} {% for cat in created_cat_list %} {% endfor %} {% endif %} {% if modified_cat_list|length == 0 %} {% else %} {% for cat in modified_cat_list %} {% endfor %} {% endif %} {% if deleted_cat_namelist|length == 0 %} {% else %} {% for deleted_cat in deleted_cat_namelist %} {% for existing_cat in cat_list %} {% if existing_cat.cat_id == deleted_cat %} {% endif %} {% endfor %} {% endfor %} {% endif %} {% endif %}
Nom de la catégorie Description de la catégorie
Attention: Veuillez vous identifier pour visualiser les modifications
Catégories ajoutées
Aucune catégorie n'a été ajoutée pour l'instant.
{{ 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 %}
Vous allez supprimer les changements faits sur cette catégorie.
Catégories modifiées
Aucune catégorie n'a été modifiée pour l'instant.
{{ 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 %}
Vous allez supprimer les changements faits sur cette catégorie.
Catégories supprimées
Aucune catégorie n'a été supprimée pour l'instant.
{{ existing_cat.cat_label }} Cette catégorie va être supprimée quand vous soumettrez vos modifications.

Soumettre mes changements

{{ commit_form.hidden_tag() }}
{{ commit_form.commit_message.label }} {{ commit_form.commit_message(size=40, class="form-control", readonly=readonly) }}
Retour