{% extends "egonomy_newbase.html" %} {% load static %} {% load i18n %} {% load thumbnail %} {% block title %}{% trans "Create or edit a fragment" %}{% endblock %} {% block css_page %} {% endblock %} {% block content %}

{{ img.metadata.titre|default:_("No title") }} / {% if frg_to_modify %}{{ frg_data.title }}{% else %}{% trans 'New fragment' %}{% endif %}

{% with img.info.image_file as image %} {% if image|is_portrait %} {% thumbnail image "x600" format="PNG" crop="center" as im %} {% empty %} {% endthumbnail %} {% else %} {% thumbnail image "600" format="PNG" crop="center" as im %} {% empty %} {% endthumbnail %} {% endif %} {% endwith %}
{% if frg_to_modify %}{% endif %} {% csrf_token %}
{% trans 'Source picture' %} : {{ img.metadata.titre|default:_("No title") }}
{% trans "Fragment's title" %} :
{% trans "Fragment's description" %} :
{% trans "Fragment's keywords" %} :
{% trans "Source picture's keywords" %} :
    {% for t in img.metadata.tags %} {% if t != "" %}
  • {{ t }}
  • {% endif %} {% endfor %}
{% trans "Senseetive keywords" %} :

{% trans 'Request keywords from Senseetive API' %}

{% trans "Fragments from this picture" %} :

{% if fragment_list %} {% else %}

{% trans "No fragment" %}

{% endif %}

Collections liées à cette image :

{% trans "No collection" %}

{% endblock %} {% comment %}
×

{% if frg_to_modify %}{{ frg_data.title }}{% else %}{% trans 'New fragment' %}{% endif %} :

{% with img.info.image_file as image %} {% if image|ratio > 0.8 %} {% thumbnail image "476" format="PNG" crop="center" as im %} {% empty %} {% endthumbnail %} {% else %} {% thumbnail image "x600" format="PNG" crop="center" as im %} {% empty %} {% endthumbnail %} {% endif %} {% endwith %}
{% if frg_to_modify %}{% endif %} {% csrf_token %}
{% if img.metadata.mots_cles %} {% endif %} {% if img.metadata.titre_pertimm %} {% endif %} {% if img.metadata.description_pertimm %} {% endif %} {% if img.metadata.thesaurus_pertimm %} {% endif %}

{% trans "Fragments from this picture" %}

{% endcomment %} {% block js_page %} {% endblock %}