<commit_before>{% extends 'events/display/conference/base.html' %}

{% from 'events/contributions/display/_contribution_list.html' import render_contribution_list %}
{% from 'events/display/common/_conferences.html' import render_attachments %}
{% from 'events/display/indico/_common.html' import render_location, render_users %}
{% from 'message_box.html' import message_box %}

{% block page_class %}conference-page item-summary{% endblock %}

{% block title %}
    {%- trans %}Session{% endtrans -%}
{% endblock %}

{% block subtitle %}
    {{- sess.title -}}
{% endblock %}

{% block info %}
    <div class="time-data">
        <i class="icon-time header-data"></i>
        <span class="time-info">
            {% if sess.start_dt -%}
                {{ sess.start_dt|format_datetime(timezone=event.display_tzinfo) }}
            {%- else -%}
                {% trans %}Not scheduled{% endtrans %}
            {%- endif %}
        </span>
    </div>
    {% if sess.has_location_info %}
        <div class="location-data">
            {{ render_location(sess, class='session-location') }}
        </div>
    {% endif %}
{% endblock %}

{% block page_actions -%}
    <div class="toolbar">
        {% if sess.can_manage(session.user) -%}
            <div class="group">
                <a href="#" class="i-button icon-edit"
                   title="{% trans %}Edit session{% endtrans %}"
                   data-title="{% trans %}Edit session{% endtrans %}"
                   data-href="{{ url_for('.modify_session', sess) }}"
                   data-ajax-dialog
                   data-reload-after></a>
                <a href="#" class="i-button icon-shield" title="{% trans %}Manage protection{% endtrans %}"
                   data-title="{% trans title=sess.title %}Manage protection{% endtrans %}"
                   data-href="{{ url_for('.session_protection', sess) }}"
                   data-ajax-dialog
                   data-reload-after></a>
                <a href="{{ url_for('timetable.manage_session', sess) }}"
                   class="i-button icon-time"
                   title="{% trans %}Manage timetable{% endtrans %}"></a>
            </div>
        {%- endif %}
        <div class="group">
            <a href="{{ url_for('sessions.export_session_timetable', sess) }}" class="i-button icon-file-pdf"></a>
            {% if sess.start_dt -%}
                {% if g.static_site %}
                    <a href="{{ url_for('sessions.export_ics', sess) }}" class="i-button icon-calendar"></a>
                {% else %}
                    <a id="exportIcal{{ sess.id }}" href="#"
                       class="i-button icon-calendar js-export-ical"
                       data-id="{{ sess.id }}"></a>
                {% endif %}
            {%- endif %}
        </div>
        {% if sess.start_dt -%}
            {% with item=sess, ics_url=url_for('sessions.export_ics', sess) -%}
                {% include 'events/sessions/display/session_ical_export.html' %}
            {%- endwith %}
        {%- endif %}
    </div>
{%- endblock %}

{% block content -%}
    {% if sess.blocks and sess.conveners -%}
        <section>
            <div class="flexrow">
                <div class="session-conveners">
                    <div class="header">
                        <div class="header-row">
                            <h3>{% trans %}Conveners{% endtrans %}</h3>
                        </div>
                    </div>
                    {% for block in sess.blocks -%}
                        <div class="header-row">
                            <h4>{{ block.full_title }}</h4>
                        </div>
                        <ul>
                            {% for convener in block.person_links -%}
                                <li class="icon-user">
                                    {% if sess.can_manage(session.user) %}
                                        <a href="mailto:{{ convener.person.email }}">
                                            {{ convener.person.full_name }}
                                        </a>
                                    {% else %}
                                        {{ convener.person.full_name }}
                                    {% endif %}
                                    ({{ convener.person.affiliation }})
                                </li>
                            {%- else -%}<commit_msg>Show SessionBlockPersonLink affiliation/name<commit_after>{% extends 'events/display/conference/base.html' %}

{% from 'events/contributions/display/_contribution_list.html' import render_contribution_list %}
{% from 'events/display/common/_conferences.html' import render_attachments %}
{% from 'events/display/indico/_common.html' import render_location, render_users %}
{% from 'message_box.html' import message_box %}

{% block page_class %}conference-page item-summary{% endblock %}

{% block title %}
    {%- trans %}Session{% endtrans -%}
{% endblock %}

{% block subtitle %}
    {{- sess.title -}}
{% endblock %}

{% block info %}
    <div class="time-data">
        <i class="icon-time header-data"></i>
        <span class="time-info">
            {% if sess.start_dt -%}
                {{ sess.start_dt|format_datetime(timezone=event.display_tzinfo) }}
            {%- else -%}
                {% trans %}Not scheduled{% endtrans %}
            {%- endif %}
        </span>
    </div>
    {% if sess.has_location_info %}
        <div class="location-data">
            {{ render_location(sess, class='session-location') }}
        </div>
    {% endif %}
{% endblock %}

{% block page_actions -%}
    <div class="toolbar">
        {% if sess.can_manage(session.user) -%}
            <div class="group">
                <a href="#" class="i-button icon-edit"
                   title="{% trans %}Edit session{% endtrans %}"
                   data-title="{% trans %}Edit session{% endtrans %}"
                   data-href="{{ url_for('.modify_session', sess) }}"
                   data-ajax-dialog
                   data-reload-after></a>
                <a href="#" class="i-button icon-shield" title="{% trans %}Manage protection{% endtrans %}"
                   data-title="{% trans title=sess.title %}Manage protection{% endtrans %}"
                   data-href="{{ url_for('.session_protection', sess) }}"
                   data-ajax-dialog
                   data-reload-after></a>
                <a href="{{ url_for('timetable.manage_session', sess) }}"
                   class="i-button icon-time"
                   title="{% trans %}Manage timetable{% endtrans %}"></a>
            </div>
        {%- endif %}
        <div class="group">
            <a href="{{ url_for('sessions.export_session_timetable', sess) }}" class="i-button icon-file-pdf"></a>
            {% if sess.start_dt -%}
                {% if g.static_site %}
                    <a href="{{ url_for('sessions.export_ics', sess) }}" class="i-button icon-calendar"></a>
                {% else %}
                    <a id="exportIcal{{ sess.id }}" href="#"
                       class="i-button icon-calendar js-export-ical"
                       data-id="{{ sess.id }}"></a>
                {% endif %}
            {%- endif %}
        </div>
        {% if sess.start_dt -%}
            {% with item=sess, ics_url=url_for('sessions.export_ics', sess) -%}
                {% include 'events/sessions/display/session_ical_export.html' %}
            {%- endwith %}
        {%- endif %}
    </div>
{%- endblock %}

{% block content -%}
    {% if sess.blocks and sess.conveners -%}
        <section>
            <div class="flexrow">
                <div class="session-conveners">
                    <div class="header">
                        <div class="header-row">
                            <h3>{% trans %}Conveners{% endtrans %}</h3>
                        </div>
                    </div>
                    {% for block in sess.blocks -%}
                        <div class="header-row">
                            <h4>{{ block.full_title }}</h4>
                        </div>
                        <ul>
                            {% for convener in block.person_links -%}
                                <li class="icon-user">
                                    {% if sess.can_manage(session.user) %}
                                        <a href="mailto:{{ convener.email }}">
                                            {{ convener.full_name }}
                                        </a>
                                    {% else %}
                                        {{ convener.full_name }}
                                    {% endif %}
                                    ({{ convener.affiliation }})
                                </li>
                            {%- else -%}
{'fraction_non_alphanumeric': 0.15512747875354108, 'fraction_numerical': 0.0009065155807365439, 'mean_word_length': 1.3662198391420912, 'pattern_counts': {'":': 0, '<': 91, '<?xml version=': 0, '>': 91, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 26, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2144338', 'n_tokens_mistral': 2623, 'n_tokens_neox': 2282, 'n_words': 444}