fix: show meetecho recordings for groups with more than one session (#8238)

This commit is contained in:
Robert Sparks 2024-11-19 15:06:56 -06:00 committed by GitHub
parent 71f52bc964
commit bdf503a73b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 8 additions and 6 deletions

View file

@ -4105,6 +4105,7 @@ def organize_proceedings_sessions(sessions):
'minutes': _format_materials((s, s.minutes()) for s in ss),
'bluesheets': _format_materials((s, s.bluesheets()) for s in ss),
'recordings': _format_materials((s, s.recordings()) for s in ss),
'meetecho_recordings': _format_materials((s, [s.session_recording_url()]) for s in ss),
'chatlogs': _format_materials((s, s.chatlogs()) for s in ss),
'slides': _format_materials((s, s.slides()) for s in ss),
'drafts': _format_materials((s, s.drafts()) for s in ss),

View file

@ -88,12 +88,13 @@
</a>
<br>
{% endfor %}
{% if entry.session.video_stream_url %}
<a href="{{ entry.session.session_recording_url }}">
Session recording
</a>
<br>
{% endif %}
{% for rec in entry.meetecho_recordings %}
<a href="{{ rec.material }}">
Session recording
{% if rec.time %}{{ rec.time|date:"D G:i"}}{% endif %}
</a>
<br>
{% endfor%}
</td>
{# slides #}
<td>