Skip to content
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
2 changes: 1 addition & 1 deletion app/eventyay/agenda/templates/agenda/fragment_nav.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<i class="fa fa-calendar"></i> {{ phrases.schedule.schedule }}
</a>
{% endif %}
{% if request.event.display_settings.schedule_display != "list" %}
{% if (schedule or request.event.current_schedule) and request.event.display_settings.schedule_display != "list" %}
<a href="{{ request.event.urls.talks }}" class="header-tab {% if "/talk/" in request.path_info %} active{% endif %}">
<i class="fa fa-comments-o"></i> {{ phrases.schedule.sessions }}
</a>
Expand Down
8 changes: 7 additions & 1 deletion app/eventyay/webapp/src/components/RoomsSidebar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,8 @@ export default {
rooms.videoChat.push(room)
} else if (room.modules.some(module => ['livestream.native', 'livestream.youtube', 'livestream.iframe'].includes(module.type))) {
let session
if (this.$features.enabled('schedule-control')) {
// Only show session information if the schedule is published
if (this.$features.enabled('schedule-control') && this.hasPublishedSchedule) {
session = this.currentSessionPerRoom?.[room.id]?.session
}
const notifications = this.notificationCount(room.modules.find(m => m.type === 'chat.native')?.channel_id)
Expand Down Expand Up @@ -186,6 +187,11 @@ export default {
worldHasPosters() {
return this.visibleRooms.some(room => room.modules.length === 1 && room.modules[0].type === 'poster.native')
},
hasPublishedSchedule() {
// Only show schedule-related items if there's a published schedule
// The schedule is considered published if it has a version (not WIP)
return this.schedule && this.schedule.version
},
},
methods: {
getDMChannelName(channel) {
Expand Down