When using the Context UI inline editor, a block of text is displayed on the page above the overlay panel that says "Now Editing", and the label of the context currently being edited.

The problem is the code keys off of the CSS class .label, which is used for both the name of the context, and it's description. This causes the "Now Editing" text to be concatenated with label and description, when it really should just be the context name.

Therefore instead of something like this (with no space between the two, and a long display of text):

Now Editing: SitewideThe sitewide context is used to add blocks for display anywhere in the site.

We can make a simple adjustment to the code so it renders like this:

Now Editing: Sitewide

Please review the attached patch, thanks.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

ron_s created an issue. See original summary.

hmendes’s picture

Status: Needs review » Reviewed & tested by the community

Tested, changing to RTBC.

  • paulocs committed f63c069 on 7.x-3.x authored by ron_s
    Issue #2734463 by ron_s, hmendes: Fix inline editor "Now Editing" text
    
paulocs’s picture

Fixed

paulocs’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

DamienMcKenna’s picture