Event dashboard with a flat design and plugin hooks

This commit is contained in:
Raphael Michel
2016-02-22 16:14:01 +01:00
parent 0fd519df4d
commit 4f35a16787
8 changed files with 171 additions and 119 deletions

View File

@@ -21,3 +21,16 @@ This signal is sent out to include navigation items in the event admin
nav_event = EventPluginSignal(
providing_args=["request"]
)
"""
This signal is sent out to include widgets to the event dashboard. Receivers
should return a list of dictionaries, where each dictionary can have the keys:
* content (str, containing HTML)
* minimal width (int, widget width in 1/12ths of the page, default ist 3, can be
ignored on small displays)
* priority (int, used for ordering, higher comes first, default is 1)
* link (str, optional, if the full widget should be a link)
"""
event_dashboard_widgets = EventPluginSignal(
providing_args=[]
)