50 lines
1.3 KiB
HTML
50 lines
1.3 KiB
HTML
{% extends "passerelle/manage/service_view.html" %}
|
|
{% load i18n passerelle %}
|
|
|
|
{% block breadcrumb %}
|
|
{{ block.super }}
|
|
<a href="{% url "cmis-type" object.slug %}">{% trans "CMIS Types" %}</a>
|
|
{% endblock %}
|
|
|
|
{% block content %}
|
|
{% if current_type %}
|
|
<a href={% url "cmis-type" object.slug %}>
|
|
{% trans "Back to base types list" %}
|
|
</a>
|
|
{% endif %}
|
|
|
|
<p>
|
|
{% if current_type %}
|
|
<h3>{% trans "Current type" %} :</h3>
|
|
<span class="cmis-id">{{ current_type.id }}</span> : {{ current_type.description }}</span>
|
|
</p>
|
|
|
|
<p>
|
|
<h4>Properties :</h4>
|
|
<ul>
|
|
{% for prop in current_properties %}
|
|
<li>
|
|
<span class="cmis-id">{{ prop.id }}</span>
|
|
({{ prop.propertyType }}{% if prop.required %}, {% trans "required" %}{% endif %}) :
|
|
{{ prop.description }}
|
|
</li>
|
|
{% endfor %}
|
|
</ul>
|
|
</p>
|
|
|
|
<p>
|
|
<h3>{% trans "Children" %} :</h3>
|
|
{% endif %}
|
|
|
|
{% if children_types %}
|
|
<ul>
|
|
{% for type in children_types %}
|
|
<li><a href={% url "cmis-type" object.slug %}?id={{ type.id }}>{{ type.id }}</a> : {{ type.description }}</li>
|
|
{% endfor %}
|
|
</ul>
|
|
{% else %}
|
|
{% trans "No more children." %}
|
|
{% endif %}
|
|
</p>
|
|
{% endblock %}
|