Features/Messages Notification: Difference between revisions
| Line 76: | Line 76: | ||
*Code changes required at the client-side :: | *Code changes required at the client-side :: | ||
** If the link needs to be added, with a particular text for the hyerlink, the following code needs to be written : | **If the link needs to be added, with a particular text for the hyerlink, the following code needs to be written : | ||
<code><pre> frame.add_message(body='Description', summary='First Title', link='http://www.linuxquestions.org', link_text='Click here to get answers to all your Linux questions')</pre></code> | <code><pre> frame.add_message(body='Description', summary='First Title', link='http://www.linuxquestions.org', link_text='Click here to get answers to all your Linux questions')</pre></code> | ||
** If no special text needs to be present for the link, we can skip the "link_text" attribute : | **If no special text needs to be present for the link, we can skip the "link_text" attribute : | ||
<code><pre> frame.add_message(body='Description',summary='First Title',link='http://www.linuxquestions.org')</pre></code> | <code><pre> frame.add_message(body='Description',summary='First Title',link='http://www.linuxquestions.org')</pre></code> | ||