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

SearchKit - Conditional style rules for rows/cells #21947

Merged
merged 1 commit into from
Nov 4, 2021

Conversation

colemanw
Copy link
Member

@colemanw colemanw commented Oct 31, 2021

Overview

Enhances SearchKit with conditional style rules. For example

  • Font strikethrough if contact is deceased
  • Background red if email on hold
  • Text faded out if relationship is not active

@civibot
Copy link

civibot bot commented Oct 31, 2021

(Standard links)

@eileenmcnaughton
Copy link
Contributor

Unrelated fail - fail relates to the silly way we 'internationalise' dates - ie translate month names rather than use the php library

Test Result (2 failures / ±0)
Civi.Token.TokenProcessorTest.testRenderLocalizedSmarty
CRM_Utils_DateTest.testLocalizeConsts

@seamuslee001
Copy link
Contributor

Jenkins re test this please

@eileenmcnaughton
Copy link
Contributor

@colemanw I just tested & I think you have an if around the wrong way

image

http://core-21947-1sy6x.test-3.civicrm.org:8001/civicrm/search#/display/contacts/Table

@eileenmcnaughton
Copy link
Contributor

oh hang on - I just saw the yes/no

@eileenmcnaughton
Copy link
Contributor

OK - that worked - I just had to see it & not leave it blank. Merging

@eileenmcnaughton eileenmcnaughton merged commit 826ba50 into civicrm:master Nov 4, 2021
@eileenmcnaughton eileenmcnaughton deleted the cssRules branch November 4, 2021 03:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants