Provided the new session attribute 'order_number' to the template also from meeting.views.session_details().
- Legacy-Id: 18197
This commit is contained in:
parent
bde289a0c1
commit
42c75a68e1
|
@ -1594,6 +1594,8 @@ def session_details(request, num, acronym):
|
|||
qs = [p for p in qs if p.document.get_state_slug(p.document.type_id)!='deleted']
|
||||
session.type_counter.update([p.document.type.slug for p in qs])
|
||||
|
||||
session.order_number = session.order_in_meeting()
|
||||
|
||||
# we somewhat arbitrarily use the group of the last session we get from
|
||||
# get_sessions() above when checking can_manage_session_materials()
|
||||
can_manage = can_manage_session_materials(request.user, session.group, session)
|
||||
|
|
Loading…
Reference in a new issue