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

Implement new "Actions" widget

    Details

    • Type: Patch
    • Status: Done/Fixed
    • Priority: Major
    • Resolution: Fixed/Completed
    • Affects Version/s: 2.1.2
    • Fix Version/s: 3.0
    • Component/s: Core CiviCRM
    • Labels:
      None

      Description

      ========================
      Action widget
      ========================

      • Replace all the actions across by "Actions" widget.
      • Action widget will be just "more" link and then on clicking slide down more actions.
      • By default we will show 2 most used action + Actions links if there are more than 3 actions in a selector

      ==========================
      Context Menu
      ==========================

      • For contact search selector implement context Menu (jQuery plugin)
      • Add all most commonly used actions to context Menu
      • Context menu should respect permissions. For eg: show component specific link only if component is enabled.

      =====================
      Add Classes to Action Lists
      =====================
      Define an action "reference" value for each action:
      view-contact
      edit-contact
      new-contribution
      new-participant
      new-activity
      new-pledge
      new-membership
      new-email
      group-add-contact
      tag-contact

      For the context menu, this is passed in the array and the template writes it out as a class attribute for each <li>:
      <li class="{$item.ref}">

      For the "links" pop-up list - we will still pass this into the template as an html blob for now (too big a change to pass array to template) - but include the classes in the <li> tags. (Developers who want to hide or modify this pop-up list will need to use css declarations on the class(es) ).

      ---------- Original post ------------------------------
      patch for easier styling of civicrm action list

        Attachments

          Activity

            People

            • Assignee:
              rajan Rajan P Mayekar
              Reporter:
              tmcnulty1982 Tobias McNulty
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: