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

CiviMember: use fa-ban, proper crm-i class for canceled auto-renew #11775

Merged
merged 1 commit into from
Mar 7, 2018

Conversation

agh1
Copy link
Contributor

@agh1 agh1 commented Mar 6, 2018

Overview

In CRM-21688, icons display the status of auto-renew for memberships. This uses the proper class for CiviCRM's implementation of Font Awesome and changes the icon for canceled auto-renewals.

Before

The icons use the fa class, which is the standard class for Font Awesome icons. However, this could result in problems with CMS themes that have their own implementations of Font Awesome.

Also, the icon for canceled auto-renewals is fa-exclamation, which implies that something has gone wrong with the autorenewal and needs immediate attention.

After

The icons use the crm-i class, which explicitly uses CiviCRM's Font Awesome library.

The icon for canceled auto-renewals is fa-ban, an icon that more closely expresses that the member has canceled their autorenewal.

Comments

I'm not sure, but I don't think that CiviCRM's Font Awesome responds to the fa class at all, which means that the icons would be missing if a site lacks a separate Font Awesome implementation. @colemanw do you know? If that's the case, I think this might need to be a last-minute merge to the 4.7.31 RC. Never mind, I just checked and it appears okay on dmaster.


@colemanw
Copy link
Member

colemanw commented Mar 7, 2018

This is simple and straightforward.

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