File tree 1 file changed +5
-4
lines changed
1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -52,15 +52,16 @@ def host_format(modeladmin, event):
52
52
and getattr (modeladmin , 'send_message_widget' , None )):
53
53
host_items .append (modeladmin .send_message_widget (event ))
54
54
55
+ # give settings a chance to tweak/alter/add items
56
+ customize_host_link = getattr (settings , 'EVENT_REVIEW_CUSTOM_HOST_DISPLAY' , None )
57
+ if callable (customize_host_link ):
58
+ host_items = customize_host_link (event , host_items )
59
+
55
60
# from the connector
56
61
extra_html = event .extra_management_html ()
57
62
if extra_html :
58
63
host_items .append (extra_html )
59
64
60
- # give settings a chance to tweak/alter/add items
61
- customize_host_link = getattr (settings , 'EVENT_REVIEW_CUSTOM_HOST_DISPLAY' , None )
62
- if callable (customize_host_link ):
63
- host_items = customize_host_link (event , host_items )
64
65
host_items .insert (0 , ' ' .join (host_line ))
65
66
return mark_safe (' <span class="glyphicon glyphicon-star-empty"></span>' .join (host_items ))
66
67
You can’t perform that action at this time.
0 commit comments