Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Let event managers see timetable & contribs in draft mode
Shows the same draft mode warning in the display mode that is used in management pages to inform managers that the contributions are in draft mode.
- Loading branch information
Showing
6 changed files
with
17 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 4 additions & 0 deletions
4
indico/modules/events/contributions/templates/display/contribution_list.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,14 @@ | ||
{% extends 'events/display/conference/base.html' %} | ||
{% from 'events/contributions/management/_draft_mode_warning.html' import render_draft_mode_warning %} | ||
{% from 'events/timetable/_timetable.html' import render_timetable %} | ||
|
||
{% block title %} | ||
{{- page_title -}} | ||
{% endblock %} | ||
|
||
{% block content %} | ||
{% if not published %} | ||
{{ render_draft_mode_warning(event) }} | ||
{% endif %} | ||
{{ render_timetable(timetable_data, event_info, timetable_layout) }} | ||
{% endblock %} |