{% extends "base.html" %} {% import "cycle/_head.html" as cy with context %} {% block title %}Cycle history{% endblock %} {% block head %}{{ cy.assets() }}{% endblock %} {% block main_attrs %} data-norefresh{% endblock %} {# Tiles, every period (views.history), and a summary for a doctor: the last 12 months, printable on its own (Print → only that card, light, see @media print in cycle.css). #} {% macro dm(d) %}{{ d.day }} {{ d.strftime("%b") }}{% endmacro %} {% macro dmy(d) %}{{ d.day }} {{ d.strftime("%b %Y") }}{% endmacro %} {% macro rng(r, unit="days") %}{% if r %}{% if r[0] == r[1] %}{{ r[0] }}{% else %}{{ r[0] }}–{{ r[1] }}{% endif %} {{ unit }}{% else %}—{% endif %}{% endmacro %} {% set d = v.doctor %} {% block page %} {{ cy.head("History", "cycle", True, "/cycle/history") }}
Nothing unusual by the common guidelines (cycles 21–35 days, periods up to 7 days, no spotting between periods, …).
{% endif %}From self-logged data; general guidance, not a diagnosis.
| Started | Period | Cycle | Heaviest flow | Strongest pain |
|---|---|---|---|---|
| {{ h.start.strftime("%a") }} {{ dm(h.start) }}{{ " " ~ h.start.year if h.start.year != v.today.year }}{% for y in h.sources %} {{ y.g }}{% endfor %} | {{ "going on" if h.going else (h.days ~ " days") }} | {% if h.cycle and h.cycle > 60 %}{{ h.cycle }} days · gap?{% else %}{{ (h.cycle ~ " days") if h.cycle else "—" }}{% endif %} | {{ h.flow or "—" }} | {{ (h.pain ~ " / 5") if h.pain else "—" }} |