mirror of
https://github.com/jwinterm/modoboa.git
synced 2026-12-02 12:13:54 +01:00
If the demo application is activated, an announcement now appears on the login page to inform visitors on how to use the demo.
This commit is contained in:
+12
-1
@@ -126,7 +126,7 @@ that corresponds to the ``Request`` object used inside the associated
|
||||
view function.
|
||||
|
||||
UserLogout
|
||||
__________
|
||||
----------
|
||||
|
||||
Raised when a user logs out. This event provides a ``request`` argument
|
||||
that corresponds to the ``Request`` object used inside the associated
|
||||
@@ -245,6 +245,17 @@ ExtDisabled
|
||||
Raised just after an extension has been disabled. The Extension
|
||||
object is available inside the ``ext`` keyword argument.
|
||||
|
||||
GetAnnouncement
|
||||
---------------
|
||||
|
||||
Some places in the interface let plugins add their own announcement
|
||||
(ie. message). A keyword argument ``target`` is provided to registered
|
||||
callbacks and indicates the place where the announcement will appear:
|
||||
|
||||
* ``loginpage`` : corresponds to the login page
|
||||
|
||||
Callbacks listening to this event must return a list of string.
|
||||
|
||||
Parameters
|
||||
==========
|
||||
|
||||
|
||||
Reference in New Issue
Block a user