{#- Plantilla de propuesta comercial Synopta. La llena generar_propuesta.py con un .json. Bloques disponibles por sección: texto, lista, tarjetas, destacado, tabla, gantt, pasos, columnas, subtitulo. Formato en línea: **negrita**, [[insignia]], [[*insignia en terracota]]. -#} {{ portada.titulo }} · Synopta {% if borrador %}
{{ marca_agua }}
{% endif %} {# ============================== PORTADA ============================== #}
{% if borrador %}
{{ marca_agua }}
{% endif %}
{{ iso_neg }}{{ portada.tipo }}

{{ portada.titulo }}

{% if portada.bajada %}

{{ portada.bajada }}

{% endif %}
Preparada para{{ portada.cliente }}{% if portada.contraparte %}
{{ portada.contraparte }}{% endif %}
Fecha{{ portada.fecha }}
Versión{{ portada.version }}
Clasificación{{ portada.clasificacion or "Confidencial" }}
{# ============================== ÍNDICE ============================== #}
{{ iso }}Contenido

Índice

    {% for s in secciones %}
  1. {{ '%02d' % loop.index }}{{ s.indice or s.etiqueta }}{{ paginas[loop.index0] if paginas else '00' }}
  2. {% endfor %}
{% if nota_indice %}

{{ nota_indice | fmt }}

{% endif %}
{# ============================== SECCIONES ============================== #} {% for s in secciones %}
{{ '%02d' % loop.index }}{{ s.etiqueta }}

{{ s.titular | fmt }}

{% if s.bajada %}

{{ s.bajada | fmt }}

{% endif %} {% for b in s.bloques %} {% if b.tipo == 'subtitulo' %}

{{ b.texto | fmt }}

{% elif b.tipo == 'texto' %}
{% for p in b.parrafos %}

{{ p | fmt }}

{% endfor %}
{% elif b.tipo == 'lista' %}
{% if b.titulo %}

{{ b.titulo | fmt }}

{% endif %}
    {% for i in b['items'] %}
  • {{ i | fmt }}
  • {% endfor %}
{% if b.nota %}

{{ b.nota | fmt }}

{% endif %}
{% elif b.tipo == 'tarjetas' %}
{% for t in b['items'] %}
{% if t.etiqueta %}{{ t.etiqueta }}{% endif %} {% if t.titulo %}

{{ t.titulo | fmt }}

{% endif %} {% if t.texto %}

{{ t.texto | fmt }}

{% endif %} {% if t.get('items') %}
    {% for i in t['items'] %}
  • {{ i | fmt }}
  • {% endfor %}
{% endif %}
{% endfor %}
{% if b.nota %}

{{ b.nota | fmt }}

{% endif %} {% elif b.tipo == 'destacado' %}
{% if b.titulo %}{{ b.titulo | fmt }}{% endif %} {% for p in b.parrafos %}

{{ p | fmt }}

{% endfor %}
{% elif b.tipo == 'tabla' %}
{% if b.titulo %}

{{ b.titulo | fmt }}

{% endif %} {% if b.anchos %}{% for w in b.anchos %}{% endfor %}{% endif %} {% for c in b.columnas %}{% endfor %} {% for fila in b.filas %} {% for celda in fila %} {% endfor %} {% endfor %}
{{ c }}
{{ celda | celda }}
{% if b.nota %}

{{ b.nota | fmt }}

{% endif %}
{% elif b.tipo == 'gantt' %} {% set cont = b.fases | selectattr('continuo') | list %} {% set n = b.semanas + (1 if cont else 0) %}
{% if b.titulo %}

{{ b.titulo | fmt }}

{% endif %}
Fase
{% for w in range(1, b.semanas + 1) %}
S{{ w }}
{% endfor %} {% if cont %}
{{ b.etiqueta_continuo or 'Mensual' }}
{% endif %} {% for f in b.fases %}
{{ f.nombre }}
{% if f.continuo %}
{% else %} {% set mx = f.max or f.min %}
{% if mx > f.min %}
{% endif %}
{% endif %}
{% endfor %}
Plazo mínimo estimado Holgura hasta el plazo máximo {% if cont %}Servicio continuo{% endif %}
{% if b.nota %}

{{ b.nota | fmt }}

{% endif %}
{% elif b.tipo == 'pasos' %}
    {% for p in b['items'] %}
  1. {{ loop.index }}
    {{ p.titulo | fmt }}{% if p.texto %}{{ p.texto | fmt }}{% endif %}
    {{ (p.cuando or '') | fmt }}
  2. {% endfor %}
{% elif b.tipo == 'columnas' %}
{% for c in b.columnas %}

{{ c.titulo | fmt }}

    {% for i in c['items'] %}
  • {{ i | fmt }}
  • {% endfor %}
{% endfor %}
{% if b.nota %}

{{ b.nota | fmt }}

{% endif %} {% endif %} {% endfor %}
{% endfor %} {# ============================== CONTRAPORTADA ============================== #}
{% if borrador %}
{{ marca_agua }}
{% endif %}

Ver para entender. Entender para ordenar. Ordenar para crecer.

Contacto {{ contacto.nombre }} {{ contacto.cargo }} {{ contacto.empresa }}
Por escrito {{ contacto.correo }} {{ contacto.web }}
{% if contacto.alcance %}

{{ contacto.alcance }}

{% endif %}