{#- Результат натальной карты. result — web/views/natal.py:build(), share — поля формы для ссылки. -#} {% from "_partials/icon.html" import icon %} {% from "_partials/natal/badge.html" import badge %} {% set r = result %}

{{ t("natal.h1") }}

{%- if r.name %}{{ r.name }}{% endif -%} {{ r.birth.date }}, {% if r.birth.time %}{{ r.birth.time }}{% if r.birth.accuracy %} {{ r.birth.accuracy }}{% endif %}{% else %}{{ t("natal.time_unknown") }}{% endif %}, {{ r.birth.offset }}

{%- if r.place.label %}{{ r.place.label }}{% endif -%} {{ r.place.coords }}

{{ t("natal.edit") }}

{{ icon("info", "natal-summary__icon") }}{{ t("reliability.label") }}: {{ r.reliability.summary|inline }}

{#- ---------- Карта и три столпа ---------- -#}
{%- if r.chart.north %}
{{ t("chart.style") }}
{%- for style in ("north", "south") %} {%- endfor %}
{{ r.chart.north }}

{{ t("chart.north_note") }}

{%- endif %}
{{ r.chart.south }}

{{ t("chart.south_note" if r.chart.north else "chart.unknown_note") }}

{{ t("pillars.title") }}

{%- for p in r.pillars %}

{{ p.title }}

{{ badge(p.badge) }}

{{ p.value }}{% if p.degree %} {{ p.degree }}{% endif %}

{%- if p.facts %}
{%- for f in p.facts %}
{{ f.label }}
{{ f.value }}{% if f.badge %} {{ badge(f.badge) }}{% endif %}
{%- endfor %}
{%- endif %}

{{ p.definition|inline }}

{%- endfor %}
{#- ---------- Планеты ---------- -#}

{{ t("planets.title") }}

{%- if r.planets_note %}

{{ icon("info") }}{{ r.planets_note }}

{%- endif %} {%- if r.known_time %} {%- endif %} {%- for p in r.planets %} {%- if r.known_time %} {%- endif %} {%- endfor %}
{{ t("planets.col_planet") }} {{ t("planets.col_sign") }} {{ t("planets.col_degree") }}{{ t("planets.col_house") }}{{ t("planets.col_nakshatra") }} {{ t("planets.col_dignity") }} {{ t("planets.col_retro") }} {{ t("planets.col_combust") }}
{{ p.name }} {{ p.sign }} {{ p.degree }}{{ t("planets.col_house") }} {{ p.house }}{{ p.nakshatra }}, {{ p.pada }} {{ p.dignity or "" }} {% if p.retro %}R{% endif %} {% if p.combust %}{{ t("planets.col_combust") }}: {{ t("planets.combust_yes") }}, {{ p.combust }}{% endif %}
{#- ---------- Периоды ---------- -#} {% set periods = r.periods %}

{{ t("periods.title") }}

{{ badge(periods.badge) }}
{%- if periods.now %}

{{ t("periods.now") }}

{{ periods.now.title }}

{%- for row in periods.now.rows %}
{{ row.label }}
{{ row.name }} {{ row.until }}
{%- endfor %}
{%- endif %} {#- Лента: те же махадаши, что в списке ниже, по длительности; для чтения экраном — список -#}
    {%- for p in periods.list %}
  1. {{ p.name }}{% if p.state == "current" %} {{ t("periods.current") }}{% endif %} {{ p.start }} {{ p.end }} {{ p.length }} {{ icon("caret-down", "period__caret") }}
      {%- for a in p.antar %}
    1. {{ a.name }}{% if a.state == "current" %} {{ t("periods.current") }}{% endif %} {{ a.start }} {{ a.end }}
    2. {%- endfor %}
  2. {%- endfor %}
{#- ---------- Садэ-сати ---------- -#} {% set s = r.sade_sati %}

{{ t("sade_sati.title") }}

{{ t("sade_sati.def")|inline }}

{{ s.status }} {{ s.as_of }}

{{ badge(s.badge) }}
{%- if s.phase %}

{{ s.phase }}

{%- endif %}
    {%- for z in s.zone %}
  1. {{ z.sign }} {{ z.label }}
  2. {%- endfor %}
{%- if s.cycle %}
{{ t("sade_sati.cycle") }}
{{ s.cycle }}
{%- endif %}
{{ t("sade_sati.next") }}
{{ s.next }}
{#- ---------- Как посчитано ---------- -#}

{{ t("conventions.title") }}

{{ t("natal.forecast")|inline }} {{ t("natal.forecast_link") }}

{#- ---------- Изменить данные ---------- -#}
{{ t("natal.edit") }}{{ icon("caret-down", "edit__caret") }}
{% include "_partials/natal_form.html" %}