<commit_before>{% extends 'base.html.twig' %}

{% block body %}
    <div class="ui main container presentations">
        <div class="page-header">
            <h1>{{ 'Presentations'|trans }}</h1>
        </div>
        <div class="row">
            <a class="ui labeled icon primary button" href="{{ path("management-presentations-create") }}">
                <i class="icon plus"></i>
                {{ "Create Presentation"|trans }}
            </a>
        </div>
        <!--
        TODO{s:5}: Präsentationen zwischen Benutzer und Organisationen verschieben
        -->

        {% for presentationGroup in presentations %}
            {% for presentation in presentationGroup %}
                <h2
                        id="title-{{ presentation.id }}"
                        class="ui top attached block header"
                        data-content-editable="true"
                        data-content-editable-save-callback="{{ path('presentation-save-title') }}"
                        data-content-editable-subject="{{ presentation.id }}"
                        data-content-editable-allow-newline="false"
                >{{ presentation.title }}</h2>
                <div class="ui middle attached segment row slide">
                    <p
                            data-content-editable="true"
                            data-content-editable-save-callback="{{ path('presentation-save-notes') }}"
                            data-content-editable-subject="{{ presentation.id }}"
                            data-content-editable-allow-newline="true"
                    >{{ presentation.notes }}</p>
                </div>
                <div class="ui middle attached segment row slide">
                    <p>{{ 'Last modified'|trans }}: {{ presentation.lastModified|date('d.m.Y H:i') }}</p>
                </div>
                <div class="ui bottom attached segment">
                    <a class="ui labeled icon button default" href="{{ path("presentation-editor-" ~ presentation.type, { presentationId: presentation.id })  }}">
                        <i class="icon pencil"></i>
                        {{ "Edit Presentation"|trans }}
                    </a><commit_msg>show presentation type on presentation list<commit_after>{% extends 'base.html.twig' %}

{% block body %}
    <div class="ui main container presentations">
        <div class="page-header">
            <h1>{{ 'Presentations'|trans }}</h1>
        </div>
        <div class="row">
            <a class="ui labeled icon primary button" href="{{ path("management-presentations-create") }}">
                <i class="icon plus"></i>
                {{ "Create Presentation"|trans }}
            </a>
        </div>
        <!--
        TODO{s:5}: Präsentationen zwischen Benutzer und Organisationen verschieben
        -->

        {% for presentationGroup in presentations %}
            {% for presentation in presentationGroup %}
                <h2
                        id="title-{{ presentation.id }}"
                        class="ui top attached block header"
                        data-content-editable="true"
                        data-content-editable-save-callback="{{ path('presentation-save-title') }}"
                        data-content-editable-subject="{{ presentation.id }}"
                        data-content-editable-allow-newline="false"
                >{{ presentation.title }}</h2>
                <div class="ui middle attached segment row slide">
                    <p
                            data-content-editable="true"
                            data-content-editable-save-callback="{{ path('presentation-save-notes') }}"
                            data-content-editable-subject="{{ presentation.id }}"
                            data-content-editable-allow-newline="true"
                    >{{ presentation.notes }}</p>
                </div>
                <div class="ui middle attached segment row horizontal segments">
                    <div class="ui middle attached segment row slide">
                        <p>{{ presentation.type|trans([], 'PresentationTypes') }}</p>
                    </div>
                    <div class="ui middle attached segment row slide">
                        <p>{{ 'Last modified'|trans }}: {{ presentation.lastModified|date('d.m.Y H:i') }}</p>
                    </div>
                </div>
                <div class="ui bottom attached segment">
                    <a class="ui labeled icon button default" href="{{ path("presentation-editor-" ~ presentation.type, { presentationId: presentation.id })  }}">
                        <i class="icon pencil"></i>
                        {{ "Edit Presentation"|trans }}
                    </a>
{'fraction_non_alphanumeric': 0.13605728727885424, 'fraction_numerical': 0.0021061499578770007, 'mean_word_length': 1.5166931637519874, 'pattern_counts': {'":': 0, '<': 63, '<?xml version=': 0, '>': 63, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5655646', 'n_tokens_mistral': 1177, 'n_tokens_neox': 1086, 'n_words': 259}