-
-
Notifications
You must be signed in to change notification settings - Fork 827
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
CPS-332: Button markup fix in PremiumBlock.tpl #18799
CPS-332: Button markup fix in PremiumBlock.tpl #18799
Conversation
(Standard links)
|
@@ -62,7 +62,9 @@ | |||
<div class="premium-full-title">{$row.name}</div> | |||
<div class="premium-full-disabled"> | |||
{ts 1=$row.min_contribution|crmMoney}You must contribute at least %1 to get this item{/ts}<br/> | |||
<button type="button" value="{ts 1=$row.min_contribution|crmMoney}Contribute %1 Instead{/ts}" amount="{$row.min_contribution}" /> | |||
<button class="btn btn-secondary" type="button" amount="{$row.min_contribution}"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wasn't aware we were putting in bootstrap classes here? should we be using crm-button class instead?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good point. I removed the classes and it still works.
@deb1990 is this still WIP per the title? |
@eileenmcnaughton I have moved it out of WIP now. |
I'm going to merge this - I think waiting for @agh1 to weigh in is less important than getting known button issues fixed in the rc to make it solid for testing |
Overview
In https://github.com/civicrm/civicrm-core/pull/18410/files#diff-6b993747c85ceec4b537726331c934f4aeac58a54152f850dab5aec2942a1009L65, the button markup was not fixed correctly, so this PR fixes the same.
Before
After