{% extends "pmo_base.html" %} {% block title %}{{ clause.source_clause or clause.id }} — {{ project.name }}{% endblock %} {% block screen %}
{{ t('clause.back') }}

{{ t('clause.title') }}

{{ project.name }} · {{ clause.id }}

{% if clause.polarity.value == 'EXCLUDED' %} {{ t('badge.excluded') }} {% else %} {{ t('badge.included') }} {% endif %} {% if clause.source_clause %}{{ clause.source_clause }}{% endif %} {% if clause.category and clause.category != 'genel' %}{{ clause.category }}{% endif %}

{{ clause.description }}

{% if clause.limits.quantity %}{{ t('clause.limit') }}: {{ clause.limits.quantity }}{% if clause.limits.period %}/{{ clause.limits.period }}{% endif %}{% endif %} {% if clause.effort_pool_hours %}{{ t('clause.pool') }}: {{ pool_used|round(1) if pool_used is not none else 0 }}/{{ clause.effort_pool_hours|round(0)|int }} {{ t('common.hours_short') }}{% endif %} {% if clause.mapped_modules %}{{ t('clause.mapped') }}: {{ clause.mapped_modules|join(', ') }}{% endif %} {% if clause.id.startswith('CR-') %}{{ t('clause.added_by_cr') }}{% endif %}

{% if memory and (memory.count or memory.disputed) %}
{{ t('cf.memory_title') }}{% if memory.ref %} · {{ memory.ref }}{% endif %} {% if memory.count %}{{ t('cf.memory_precedents', n=memory.count) }}{% if memory.last %} · {{ t('cf.memory_last', v=memory.last) }}{% endif %}{% endif %} {% if memory.disputed %}{{ t('cf.memory_disputed') }}{% endif %}
{% endif %}

{{ t('clause.cited_cases') }}

{{ rows|length }}
{% for r in rows %}
{{ r.request }}{% if r.escalated %}{{ t('badge.escalation') }}{% endif %}
{{ r.id }}
{% for d in r.decisions %}{{ d.label }}{% endfor %}
{{ r.status_label }} {{ r.created_at }}
{% else %}
{{ t('clause.no_cases') }}
{% endfor %}
{% endblock %}