{% extends 'newsletter_outlook_template.html' %} {% macro display_topic_evolution(topic, language) %} {% if topic.topic_evolution %}
{% if language == 'en' %} Topic Evolution {% else %} Evolution du sujet {% endif %}
{% for topic_evolution_period in topic.topic_evolution.topic_summary_by_time_period | sort(attribute='date', reverse=True) %}
{% if topic_evolution_period.date or topic_evolution_period.title %}
{% if topic_evolution_period.date %}
{{ topic_evolution_period.date | e }}
{% endif %} {% if topic_evolution_period.title %}
{{ topic_evolution_period.title | e }}
{% endif %}
{% endif %} {% if topic_evolution_period.description %}
{{ topic_evolution_period.description | e }}
{% endif %} {% if topic_evolution_period.novelty %}
{% if language == 'en' %} Novelty {% else %} Nouveauté {% endif %}
{{ topic_evolution_period.novelty | e }}
{% endif %} {% if topic_evolution_period.key_developments %}
{% if language == 'en' %} Key Developments {% else %} Développements clés {% endif %}
    {% for key_development in topic_evolution_period.key_developments %}
  • {{ key_development | e }}
  • {% endfor %}
{% endif %}
{% endfor %}
{% endif %} {% endmacro %} {% macro display_evolution_scenario(topic, language) %} {% if topic.topic_analysis and topic.topic_analysis.evolution_scenario %}
{% if language == 'en' %} Evolution Scenarios {% else %} Scénarios d'évolution {% endif %}
{% if language == 'en' %} Optimistic scenario {% else %} Scénario optimiste {% endif %}
{{ topic.topic_analysis.evolution_scenario.optimistic_scenario_description | e }}
{% if topic.topic_analysis.evolution_scenario.optimistic_scenario_points %}
{% if language == 'en' %} Key Points {% else %} Points clés {% endif %}
    {% for point in topic.topic_analysis.evolution_scenario.optimistic_scenario_points %}
  • {{ point | e }}
  • {% endfor %}
{% endif %}
{% if language == 'en' %} Pessimistic scenario {% else %} Scénario pessimiste {% endif %}
{{ topic.topic_analysis.evolution_scenario.pessimistic_scenario_description | e }}
{% if topic.topic_analysis.evolution_scenario.pessimistic_scenario_points %}
{% if language == 'en' %} Key Points {% else %} Points clés {% endif %}
    {% for point in topic.topic_analysis.evolution_scenario.pessimistic_scenario_points %}
  • {{ point | e }}
  • {% endfor %}
{% endif %}
{% endif %} {% endmacro %} {% macro display_multifactorial_analysis(topic, language) %} {% if topic.topic_analysis %} {% if topic.topic_analysis.potential_implications %}
{% if language == 'en' %} Potential Implications {% else %} Implications potentielles {% endif %}
{% if topic.topic_analysis.potential_implications.short_term_implications %}
{% if language == 'en' %} Short-term implications {% else %} Implications à court terme {% endif %}
    {% for implication in topic.topic_analysis.potential_implications.short_term_implications %}
  • {{ implication | e }}
  • {% endfor %}
{% endif %} {% if topic.topic_analysis.potential_implications.long_term_implications %}
{% if language == 'en' %} Long-term implications {% else %} Implications à long terme {% endif %}
    {% for implication in topic.topic_analysis.potential_implications.long_term_implications %}
  • {{ implication | e }}
  • {% endfor %}
{% endif %}
{% endif %} {% if topic.topic_analysis.topic_interconnexions %}
{% if language == 'en' %} Topic Interconnections {% else %} Interconnexions du sujet {% endif %}
{% if topic.topic_analysis.topic_interconnexions.interconnexions %}
{% if language == 'en' %} Interconnections {% else %} Interconnexions {% endif %}
    {% for interconnection in topic.topic_analysis.topic_interconnexions.interconnexions %}
  • {{ interconnection | e }}
  • {% endfor %}
{% endif %} {% if topic.topic_analysis.topic_interconnexions.ripple_effects %}
{% if language == 'en' %} Ripple Effects {% else %} Effets de propagation {% endif %}
    {% for effect in topic.topic_analysis.topic_interconnexions.ripple_effects %}
  • {{ effect | e }}
  • {% endfor %}
{% endif %}
{% endif %} {% if topic.topic_analysis.drivers_inhibitors %}
{% if language == 'en' %} Drivers and Inhibitors {% else %} Moteurs et inhibiteurs {% endif %}
{% if topic.topic_analysis.drivers_inhibitors.drivers %}
{% if language == 'en' %} Drivers {% else %} Moteurs {% endif %}
    {% for driver in topic.topic_analysis.drivers_inhibitors.drivers %}
  • {{ driver | e }}
  • {% endfor %}
{% endif %} {% if topic.topic_analysis.drivers_inhibitors.inhibitors %}
{% if language == 'en' %} Inhibitors {% else %} Inhibiteurs {% endif %}
    {% for inhibitor in topic.topic_analysis.drivers_inhibitors.inhibitors %}
  • {{ inhibitor | e }}
  • {% endfor %}
{% endif %}
{% endif %} {% endif %} {% endmacro %} {% block detailed_topic_analysis scoped %} {{ super() }} {% if topic.topic_evolution or topic.topic_analysis %}
{% if language == 'en' %} Detailed Analysis {% else %} Analyse Détaillée {% endif %} {% if language == 'en' %} Click to expand {% else %} Cliquer pour développer {% endif %}
{{ display_topic_evolution(topic, language) }} {{ display_evolution_scenario(topic, language) }} {{ display_multifactorial_analysis(topic, language) }}
{% endif %} {% endblock %}