Skip to content

Commit

Permalink
[UPD] README.rst
Browse files Browse the repository at this point in the history
  • Loading branch information
OCA-git-bot authored and laurent.corron committed Nov 14, 2019
1 parent da6f94c commit c1b2055
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions web_notify/README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -59,14 +59,14 @@ or
self.env.user.notify_warning(message='My marning message')
.. figure:: static/description/notifications_screenshot.png
.. figure:: https://raw.githubusercontent.com/OCA/web/12.0/web_notify/static/description/notifications_screenshot.png
:scale: 80 %
:alt: Sample notifications

You can test the behaviour of the notifications by installing this module in a demo database.
Access the users form through Settings -> Users & Companies. You'll see a tab called "Test web notify", here you'll find two buttons that'll allow you test the module.

.. figure:: static/description/test_notifications_demo.png
.. figure:: https://raw.githubusercontent.com/OCA/web/12.0/web_notify/static/description/test_notifications_demo.png
:scale: 80 %
:alt: Sample notifications

Expand Down
4 changes: 2 additions & 2 deletions web_notify/static/description/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -404,12 +404,12 @@ <h1><a class="toc-backref" href="#id2">Usage</a></h1>
<span class="bp">self</span><span class="o">.</span><span class="n">env</span><span class="o">.</span><span class="n">user</span><span class="o">.</span><span class="n">notify_warning</span><span class="p">(</span><span class="n">message</span><span class="o">=</span><span class="s1">'My marning message'</span><span class="p">)</span>
</pre>
<div class="figure">
<img alt="Sample notifications" src="static/description/notifications_screenshot.png" />
<img alt="Sample notifications" src="https://raw.githubusercontent.com/OCA/web/12.0/web_notify/static/description/notifications_screenshot.png" />
</div>
<p>You can test the behaviour of the notifications by installing this module in a demo database.
Access the users form through Settings -&gt; Users &amp; Companies. You’ll see a tab called “Test web notify”, here you’ll find two buttons that’ll allow you test the module.</p>
<div class="figure">
<img alt="Sample notifications" src="static/description/test_notifications_demo.png" />
<img alt="Sample notifications" src="https://raw.githubusercontent.com/OCA/web/12.0/web_notify/static/description/test_notifications_demo.png" />
</div>
</div>
<div class="section" id="bug-tracker">
Expand Down

0 comments on commit c1b2055

Please sign in to comment.