Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ensure consistent event summary presentation via modal and direct access #701

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions mote/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,8 @@ def statfile(channame, cldrdate, meetname, typecont):
abort(404)
else:
meeting_title = re.search(main.config["RECOGNIITION_PATTERN"], meetname)
# Generate URL for the summary page
summary_url = url_for('evtsmry', channame=channame, cldrdate=cldrdate, meetname=meetname)

return render_template(
"statfile.html.j2",
Expand All @@ -133,6 +135,7 @@ def statfile(channame, cldrdate, meetname, typecont):
timetext=meeting_title.group(3),
typecont=typecont,
meetcont=meetcont[1],
summary_url=summary_url, # URL for the summary page
)


Expand Down
2 changes: 2 additions & 0 deletions mote/templates/event_summary.html.j2
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,8 @@
</li>
{% endfor %}
</ul>
<a href="{{ full_log }}" class="btn btn-info" target="_blank">View Full Logs</a>

</div>
<div class="evt-smry-col col-12 col-lg-5 p-2">
<p class="evt-smry-header"><i class="fas fa-clipboard-list fa-lg me-2"></i>Action Items ({{ meet['actions']|length }})</p>
Expand Down
5 changes: 5 additions & 0 deletions mote/templates/statfile.html.j2
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,11 @@
</div>
<div class="card-body">
{{ meetcont | safe }}

{% if summary_url %}
<a href="{{ summary_url }}">Back to Event Summary</a>
{% endif %}

</div>
<div class="card-footer text-center">
<span class="small">
Expand Down
Loading