Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-3986

PCP : Disabled and "Not Approved" PCP rows should use disabled css class

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Trivial
    • Resolution: Fixed/Completed
    • Affects Version/s: 2.2.0
    • Fix Version/s: 2.2.0
    • Component/s: CiviContribute
    • Labels:
      None

      Description

      When displaying PCP's in a selector, add css .disabled class to row if they are inactive or "Not Approved"

      NOTE: For civicrm_pcp.status_id please use CRM_Core_OptionGroup::getValue( 'pcp_status', 'Not Approved', 'name' ) rather than hard-coding a value. (I fixed this in Page/PCPInfo.php which was using hard-code status of 2 to see if a page was Approved.)

        Attachments

          Activity

            People

            • Assignee:
              shailesh Shailesh Lende
              Reporter:
              dgg David Greenberg
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 30 minutes
                30m
                Remaining:
                Time Spent - 15 minutes Remaining Estimate - 15 minutes
                15m
                Logged:
                Time Spent - 15 minutes Remaining Estimate - 15 minutes
                15m