mirror of
https://github.com/pretix/pretix.git
synced 2026-05-08 15:44:02 +00:00
Add internal comment to events
This commit is contained in:
@@ -13,6 +13,7 @@ from django.utils.translation import ugettext_lazy as _
|
||||
from pretix.base.models import (
|
||||
Item, Order, OrderPosition, Voucher, WaitingListEntry,
|
||||
)
|
||||
from pretix.control.forms.event import CommentForm
|
||||
from pretix.control.signals import (
|
||||
event_dashboard_widgets, user_dashboard_widgets,
|
||||
)
|
||||
@@ -239,6 +240,7 @@ def event_index(request, organizer, event):
|
||||
'widgets': rearrange(widgets),
|
||||
'logs': qs[:5],
|
||||
'actions': a_qs[:5] if can_change_orders else [],
|
||||
'comment_form': CommentForm(initial={'comment': request.event.comment})
|
||||
}
|
||||
|
||||
for a in ctx['actions']:
|
||||
|
||||
Reference in New Issue
Block a user