Feature #31019

FlashMessages ViewHelper should render message title and severity

Added by Bastian Waidelich almost 4 years ago. Updated over 3 years ago.

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

100%

Category:ViewHelpers
Target version:-
Has patch:No

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 3 years 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

#1 Updated by Mr. Hudson almost 4 years ago

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

#2 Updated by Mr. Hudson almost 4 years ago

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

#3 Updated by Adrian Föder almost 4 years ago

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

#4 Updated by Mr. Hudson almost 4 years ago

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

#5 Updated by Mr. Hudson almost 4 years ago

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

#6 Updated by Mr. Hudson over 3 years ago

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

#7 Updated by Mr. Hudson over 3 years ago

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

#8 Updated by Mr. Hudson over 3 years ago

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

#9 Updated by Mr. Hudson over 3 years ago

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

#10 Updated by Bastian Waidelich over 3 years ago

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

Also available in: Atom PDF