Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update theme template to change "former" to "incoming" for new senators #260

Merged
merged 2 commits into from
Nov 22, 2024

Conversation

aheaphy
Copy link
Contributor

@aheaphy aheaphy commented Nov 19, 2024

No description provided.

@aheaphy aheaphy added the testing PR is current being tested label Nov 19, 2024
$incoming = 'no';
}
//dump($incoming);

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Remove dump(), also:

// $incoming will be boolean T/F
$incoming = is_null($senator->get('field_microsite_theme')->getValue();

@@ -23,7 +23,8 @@
<div class="c-senator-hero--info {% if not is_active %} inactive-pallette {% endif %}">
<div>
<h2 class="c-senator-hero--title">
{% if not is_active %}former
{% if incoming == "yes" %}incoming{% endif %}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Change to detect T/F instead of yes/no

@fksaintil fksaintil added ready Tested and ready for deployment (unless on-hold) and removed testing PR is current being tested labels Nov 22, 2024
@routinet routinet merged commit 429f5c7 into main Nov 22, 2024
2 checks passed
@routinet routinet deleted the feature/nys-16800--incoming branch November 22, 2024 13:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready Tested and ready for deployment (unless on-hold)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants