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

When viewing a membership show if the status is overridden #16341

Merged
merged 1 commit into from
Jan 20, 2020

Conversation

mattwire
Copy link
Contributor

Overview

When viewing a membership there is no (simple) way of knowing if the membership status has been overridden.

Before

Cannot see if status is overridden.

After

Can easily see if status is overridden:
image

Technical Details

Just a one line tpl change

Comments

@wmortada Would you be able to review this one?

@civibot
Copy link

civibot bot commented Jan 20, 2020

(Standard links)

@civibot civibot bot added the master label Jan 20, 2020
@wmortada
Copy link
Contributor

Taking a look now.

@wmortada
Copy link
Contributor

  • General standards
    • Explain (r-explain)
      • PASS : The problem/solution has been adequately explained in the PR.
      • COMMENTS: A screenshot of the before state would help to visually explain what has changed.
    • User impact (r-user)
      • PASS: The change would be intuitive or unnoticeable for a majority of users who work with this feature.
    • Documentation (r-doc)
      • PASS: The changes do not require documentation.
      • COMMENTS: Potentially the documentation could be updated but it is pretty self-evident so I don't think it really needs documentation.
    • Run it (r-run)
      • PASS: Applied patch to dmaster. Edited membership record for 'Mr. Craig Dimitriov III' to override the membership status. Viewed said membership record. Noted the additional text. Checked that this text does not appear if the membership status is not overridden.
  • Developer standards
    • Technical impact (r-tech)
      • PASS: The change preserves compatibility with existing callers/code/downstream.
    • Code quality (r-code)
      • PASS: The functionality, purpose, and style of the code seems clear+sensible.
      • COMMENTS: You have removed one level of indenting from the edited line which puts it out of line with the rest of the file. I'd suggest reinstating this indent for consistency.
    • Maintainability (r-maint)
      • PASS: The change is trivial enough that it does not require tests.
    • Test results (r-test)
      • UNREVIEWED

@mattwire mattwire force-pushed the membership_overridden branch from d7d0905 to 9c1df5d Compare January 20, 2020 17:01
@mattwire
Copy link
Contributor Author

I'd suggest reinstating this indent for consistency.
Oops - now resolved!

@eileenmcnaughton
Copy link
Contributor

@wmortada thanks for reviewing. Merging

@eileenmcnaughton eileenmcnaughton merged commit 43c175b into civicrm:master Jan 20, 2020
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