diff --git a/web/modules/custom/nys_registration/assets/find_my_senator.css b/web/modules/custom/nys_registration/assets/find_my_senator.css index b906272e40..2b23a1898c 100644 --- a/web/modules/custom/nys_registration/assets/find_my_senator.css +++ b/web/modules/custom/nys_registration/assets/find_my_senator.css @@ -41,3 +41,10 @@ content: ','; display: inline-block; } + +.c-find-my-senator .nys-vacant-seat { + font-size: 20px; + font-family: Adelle Light, serif; + color: #666666; + padding-top: 4px; +} diff --git a/web/themes/custom/nysenate_theme/src/templates/taxonomy-term/taxonomy-term--districts--matched-district.html.twig b/web/themes/custom/nysenate_theme/src/templates/taxonomy-term/taxonomy-term--districts--matched-district.html.twig index 4bc0ae0e7a..21bea075c6 100644 --- a/web/themes/custom/nysenate_theme/src/templates/taxonomy-term/taxonomy-term--districts--matched-district.html.twig +++ b/web/themes/custom/nysenate_theme/src/templates/taxonomy-term/taxonomy-term--districts--matched-district.html.twig @@ -27,6 +27,12 @@ {{ attach_library('nysenate_theme/district') }}
-

Your Senator

-
{{ content.field_senator }}
+

Your Senator

+ {% if content.field_senator.0 is defined %} +
+ {{ content.field_senator }} +
+ {% else %} +
This Senate seat is currently vacant.
+ {% endif %}