Drop the "estimated" if date is "TBD"

Having "estimated TBD" looks silly in the table, replace this by just
"TBD" if we don't have a date set yet.

Change-Id: I48394304b48e7ec36e51a2b8b036ee5e60cb016d
This commit is contained in:
Jens Harbott 2019-11-19 09:23:16 +00:00
parent 7202fe1edc
commit 1c2273debc

View File

@ -19,6 +19,6 @@
- * :doc:`{{ series['name'] }}/index`
* {{ phase_link(series['status']) }}
* {{ series['initial-release'] }} {%- if series['status'] in ['development', 'future'] %} *estimated* :doc:`(schedule) <{{ series['name'] }}/schedule>`{%- endif %}
* {% if series['next-phase'] %}{{ phase_link(series['next-phase']['status']) }} *estimated {{ series['next-phase'].get('date', 'TBD') }}*{% endif %}
* {% if series['next-phase'] %}{{ phase_link(series['next-phase']['status']) }} *{% if 'date' in series['next-phase'] %}estimated {{ series['next-phase']['date'] }}{% else %}TBD{% endif %}*{% endif %}
* {{ series.get('eol-date', '') }}
{%- endfor %}