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

[REF] Fix metadata label for contribution_page_id #18047

Merged
merged 1 commit into from
Aug 7, 2020

Conversation

eileenmcnaughton
Copy link
Contributor

@eileenmcnaughton eileenmcnaughton commented Aug 3, 2020

Overview

Adds label for contribution_page_id to the html metadata & switches search to use this

Before

With just the xml change we get a label regression
Screen Shot 2020-08-03 at 5 40 14 PM

After

By also fixing the metadata it continues to display correctly
Screen Shot 2020-08-03 at 5 40 35 PM

Technical Details

@colemanw this is how we can use the existing metadata conventions to present the right labels in html without distorting the meaning of the field & making it unavailable for other purposes

Comments

@civibot
Copy link

civibot bot commented Aug 3, 2020

(Standard links)

@civibot civibot bot added the master label Aug 3, 2020
@eileenmcnaughton
Copy link
Contributor Author

@colemanw can I get you to check this - this is using the html label rather than the title to render the html label - which allows the field title to be used as the field title.

@colemanw
Copy link
Member

colemanw commented Aug 7, 2020

This is a clever solution. I think I like it.
Lots of fields to update now!

@seamuslee001
Copy link
Contributor

Merging based on @colemanw +1

@seamuslee001 seamuslee001 merged commit 391a1c4 into civicrm:master Aug 7, 2020
@seamuslee001 seamuslee001 deleted the ent_ref branch August 7, 2020 02:18
@eileenmcnaughton
Copy link
Contributor Author

woot!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants