Render election schedule to releases properly

This change reflects releases team feedback not to render as project-specific.

Change-Id: I21d441bf05bd5382ca78a936a47c93afbbc22a52
This commit is contained in:
Ian Y. Choi 2025-01-25 07:32:30 +09:00
parent a4da7f2c5a
commit f18a7b9bc5

View File

@ -22,12 +22,12 @@ from openstack_election import yamlutils
conf = config.load_conf() conf = config.load_conf()
rst_template = textwrap.dedent(""" rst_template = textwrap.dedent("""
{release} TC and PTL Elections {release} TC and PTL Elections
--------------------------- ===========================
.. _{nrl}-election-email-deadline: .. _{nrl}-election-email-deadline:
{release} Election Email Deadline {release} Election Email Deadline
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ------------------------------
Contributors that will be in the electorate for the upcoming election Contributors that will be in the electorate for the upcoming election
should confirm their gerrit email addresses by this date ({deadline_date} should confirm their gerrit email addresses by this date ({deadline_date}
at {deadline_time} UTC). Electorate rolls are generated after this date and ballots will at {deadline_time} UTC). Electorate rolls are generated after this date and ballots will
@ -36,7 +36,7 @@ rst_template = textwrap.dedent("""
.. _{nrl}-election-nominations: .. _{nrl}-election-nominations:
{release} Election Nomination Begins {release} Election Nomination Begins
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ---------------------------------
Candidates interested in serving for the next calendar year (TC), or Candidates interested in serving for the next calendar year (TC), or
development cycle (PTL) should announce their candidacies and platforms during development cycle (PTL) should announce their candidacies and platforms during
this week. Please see the `Election site`_ for specific timing information. this week. Please see the `Election site`_ for specific timing information.
@ -44,7 +44,7 @@ rst_template = textwrap.dedent("""
.. _{nrl}-election-campaigning: .. _{nrl}-election-campaigning:
{release} Election Campaigning Begins {release} Election Campaigning Begins
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ----------------------------------
The electorate has time to ask candidates questions about their platforms The electorate has time to ask candidates questions about their platforms
and debate topics before polling begins. Please see the `Election site`_ for and debate topics before polling begins. Please see the `Election site`_ for
specific timing information. specific timing information.
@ -52,14 +52,14 @@ rst_template = textwrap.dedent("""
.. _{nrl}-election-voting: .. _{nrl}-election-voting:
{release} Election Polling Begins {release} Election Polling Begins
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ --------------------------------
Election polling for open seats on the TC and any required PTL elections. Election polling for open seats on the TC and any required PTL elections.
Please see the `Election site`_ for specific timing information. Please see the `Election site`_ for specific timing information.
.. _{nrl}-election-close: .. _{nrl}-election-close:
{release} Election Polling Ends {release} Election Polling Ends
^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ----------------------------
All polls close in the {release} Election and results announced. Please see the All polls close in the {release} Election and results announced. Please see the
`Election site`_ for specific timing information. `Election site`_ for specific timing information.