Zebra stripes by election and hide dropdown option #6597
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Summary (required)
ReportngDatesTable template
more granular comtrol over Zebra striping by enabling the ability to add custom classes to rows in the table block Specifically for pages where the editor wants to manually stripe by election-name instead of the default automatically by state.states dropdown
on the template instead of having to add CSS the template in an HTML block.Required reviewers
one dev and @djgarr - ( I can push to feature when you are ready)
Impacted areas of the application
zebra striping options ReportingDatesTable templates
States dropdown on ReportingDatesTable templates
How to test
I can push to feature when you are ready to test @djgarr
npm run build-js
Reporting dates table
template<election class="fl1">Florida 1st Congressional District Special Primary</election>
<tr class="fl1 fl">
<election>
tag in a link tag<a href="https://www.fec.gov/help-candidates-and-committees/dates-and-deadlines/2024-reporting-dates/prior-notices-2024/election-report-notice-florida/"><election class="fl1">Florida 1st Congressional District Special Primary</election></a>
System architecture updates (if applicable)
(If this pull request changes our current system diagram, include a description of those changes here and create a new ticket to update the system diagram)