-
Notifications
You must be signed in to change notification settings - Fork 43
Open
Labels
Milestone
Description
Summary
What we're after:
Fix the logic in the rulemaking template that determines when to display "Joint comment" vs. individual commenter names. Currently, the template checks the total number of entities to decide the link text, but it should instead check the number of entities with role == "Commenter".
You can use Rulemaking 2024-01 as an example.
Technical considerations
- Changes should be made in the python view and not jinja template
Completion criteria
- When there is exactly 1 entity with role == "Commenter":
- The link text should display:
[Commenter Name] | Commenter - All doc_entities should be listed below as indented items
- The link text should display:
- When there are 2 or more entities with role == "Commenter":
- The link text should display:
Joint comment - All doc_entities should be listed below as indented items
- The link text should display:
This ensures that documents with multiple entities but only one actual Commenter will display the commenter's name instead of incorrectly showing "Joint comment".
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
🔜 Sprint backlog