Skip to content

[WV-5274]Add ability to link Office Explainer (LOFI) data to OfficeHeld entries [TEAM REVIEW] - #3340

Merged
DaleMcGrew merged 1 commit into
wevote:developfrom
pravingv:WV_5274_link_OfficeExplainer_OfficeHeld
Nov 25, 2026
Merged

DaleMcGrew merged 1 commit into
wevote:developfrom
pravingv:WV_5274_link_OfficeExplainer_OfficeHeld

Conversation

@pravingv

@pravingv pravingv commented Nov 23, 2026 •

Copy link
Copy Markdown
Contributor

What github.com/wevote/weconnect/issues does this fix?

WV-5274Add ability to link Office Explainer (LOFI) data to OfficeHeld entries
Refactors ContestOffice linking out of the OfficeExplanation edit page into its own dedicated page, and adds a parallel linking page for OfficeHeld records.

Changes included this pull request?

office/urls.py
office/views_admin.py

  • Added office_explanation_contest_office_link_view and the /office/office_explanation_contest_office_link/<we_vote_id>/ route.
  • Added office_explanation_office_held_link_view, and the /office/office_explanation_office_held_link/<we_vote_id>/ route.
  • Updated office_explanation_process_view to support linking and unlinking OfficeHeld records (office_explanation_we_vote_id).

templates/office/office_explanation_contest_office_link.html

  • Extracted the ContestOffice search, filter, and linking UI from office_explanation_edit.html into office_explanation_contest_office_link.html.

templates/office/office_explanation_office_held_link.html

  • Created office_explanation_office_held_link.html, and linked UI from office_explanation_edit.html into office_explanation_office_held_link.html.

templates/office/office_explanation_edit.html

  • Simplified office_explanation_edit.html and office_explanation_edit_view to focus solely on editing OfficeExplanation details

templates/office/office_explanations_list.html

  • Updated office_explanations_list.html and office_explanations_list_view to display linked counts and direct links for both Contest

@DaleMcGrew
DaleMcGrew merged commit f4b29c2 into wevote:develop Nov 25, 2026
2 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants