Problem/Motivation

It would be great to have a magical {{#mesage}} variable for displaying text as a message.

Proposed resolution

{{#message.ok}}/{{#message.success}}/{{#message.warning}}/{{#message.error}}

  • Implement this variable as higher-order section lambda.
  • Consider using Drupal's JS message library for displaying messages on the client side.

Remaining tasks

Implement.

Comments

mxh created an issue. See original summary.

mxh’s picture

Assigned: Unassigned » mxh
mxh’s picture

Title: mustache_magic: Provide a magical {{#message}} variable for diplaying messages. » mustache_magic: Provide a magical {{#message}} variable for displaying messages.

  • mxh committed f57664a on 2.0.x
    Issue #3250531 by mxh: mustache_magic: Provide a magical {{#message}}...
mxh’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

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