Feature #31019

FlashMessages ViewHelper should render message title and severity

Added by Bastian Waidelich over 1 year ago. Updated over 1 year ago.

Status:Resolved Start date:2011-10-17
Priority:Should have Due date:
Assignee:Bastian Waidelich % Done:

100%

Category:ViewHelpers
Target version:-
Has patch:No
Votes: 0

Description

Currently <f:flashmessages /> renders the FlashMessages only by converting them into a string implicitly. That only returns the message Body of the respective FlashMessage. In order to render FlashMessages according to their type, the severity should be rendered into the flash message as CSS class. Besides the title of a message should be rendered, if specified.

Associated revisions

Revision 50db4d21
Added by Bastian Waidelich over 1 year ago

[FEATURE] (ViewHelpers): Render FlashMessage title and severity

Currently the FlashMessages ViewHelper only renders the body of
the respective Flash Messages.
This change modifies the ViewHelper in a backwards compatible
way so that it outputs the message title if specified.
Additionally the severity (notice, warning, error, ok) is
added to each list item.

Additionally free rendering foreach style is possible now.

Change-Id: Icf2c3e0bff3140bfd7da0c3c0808cca0097f6197
Resolves: #31019
Release: 1.1

History

Updated by Mr. Hudson over 1 year ago

Patch set 1 of change Icf2c3e0bff3140bfd7da0c3c0808cca0097f6197 has been pushed to the review server.
It is available at http://review.typo3.org/5913

Updated by Mr. Hudson over 1 year ago

Patch set 2 of change Icf2c3e0bff3140bfd7da0c3c0808cca0097f6197 has been pushed to the review server.
It is available at http://review.typo3.org/5913

Updated by Adrian Föder over 1 year ago

Just got in touch with this entry, maybe this is also interesting: https://gist.github.com/1315759

Updated by Mr. Hudson over 1 year ago

Patch set 3 of change Icf2c3e0bff3140bfd7da0c3c0808cca0097f6197 has been pushed to the review server.
It is available at http://review.typo3.org/5913

Updated by Mr. Hudson over 1 year ago

Patch set 4 of change Icf2c3e0bff3140bfd7da0c3c0808cca0097f6197 has been pushed to the review server.
It is available at http://review.typo3.org/5913

Updated by Mr. Hudson over 1 year ago

Patch set 5 of change Icf2c3e0bff3140bfd7da0c3c0808cca0097f6197 has been pushed to the review server.
It is available at http://review.typo3.org/5913

Updated by Mr. Hudson over 1 year ago

Patch set 6 of change Icf2c3e0bff3140bfd7da0c3c0808cca0097f6197 has been pushed to the review server.
It is available at http://review.typo3.org/5913

Updated by Mr. Hudson over 1 year ago

Patch set 7 of change Icf2c3e0bff3140bfd7da0c3c0808cca0097f6197 has been pushed to the review server.
It is available at http://review.typo3.org/5913

Updated by Mr. Hudson over 1 year ago

Patch set 8 of change Icf2c3e0bff3140bfd7da0c3c0808cca0097f6197 has been pushed to the review server.
It is available at http://review.typo3.org/5913

Updated by Bastian Waidelich over 1 year ago

  • Status changed from Accepted to Resolved
  • % Done changed from 0 to 100

Also available in: Atom PDF