Features/Messages Notification: Difference between revisions

Ajay Garg (talk | contribs)
Ajay Garg (talk | contribs)
Line 79: Line 79:
<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='Second Title',link='http://www.wikipedia.org')</pre></code>