Mailinglist Archive: yast-devel (59 mails)

< Previous Next >
[yast-devel] Details in flash message
  • From: Josef Reidinger <jreidinger@xxxxxxx>
  • Date: Mon, 15 Mar 2010 12:00:58 +0100
  • Message-id: <201003151200.58802.jreidinger@xxxxxxx>
Hi,
I submit implementation of details in flash message. It is really easy to use.
You can use for to add additional info to message which is not shown by default.
Attention: details string is not escaped. It is up to you to ensure that it is
escaped. (Can change in future if there is request to have it)
Note: It uses pre for string, so you don't need to replace \n with <br>

example:
flash[:error] = "Fatal error."+details("really interesting details")
--
Josef Reidinger
YaST team
maintainer of perl-Bootloader, YaST2-Repair, parts of webyast
--
To unsubscribe, e-mail: yast-devel+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: yast-devel+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups