<commit_before>{% extends '::ojsbase.html.twig' %}
{% block title %}{{ 'title.archives'|trans }} {{ parent() }}{% endblock %}
{% set hideleft = 1 %}
{% block stylesheets %}
    {{ parent() }}

    <style type="text/css">
        .thumbnail {
            float: left;
            margin-left: 5px;
        }
    </style>
{% endblock %}

{% if isPublisherHosting is defined %}
    {% set journalUrl = url('publisher_hosting_journal_index',{slug:journal.slug}) %}
{% elseif isJournalHosting is defined %}
    {% set journalUrl = url('journal_publisher_hosting') %}
{% else %}
    {% set journalUrl = generateJournalUrl(journal) %}
{% endif %}

{% block breadcrumb %}
    {% set list = [
    {'link': path('ojs_public_index'), 'title': project_name},
    {'link': journalUrl, 'title': journal.title},
    {'title': "archive"|trans}
    ] %}
    {{ breadcrumb(list) }}
{% endblock %}

{% block body %}

    <div class="container">
        <!-- The carousel -->
        <div class="page-header">
            <h1>{{ journal.title }}</h1>
            <h6>{{ journal.subtitle }}</h6>
        </div>
        <div class="row">
            <div class="col-md-9 col-sm-8">
                {% for year in groupedIssues|keys %}
                    <div class="panel panel-default" id="issues_list">
                        <div class="panel-heading toggle-list">
                            <a class="panel-title archive-year-title btn-block" data-toggle="collapse"
                               data-parent="#issues_list" href="#issue_of_{{ year }}">
                                {{ year }}
                                <span class="pull-right fa fa-list"></span>
                            </a>
                        </div>
                        <div class="panel-body collapse" id="issue_of_{{ year }}">
                            {% for issue in groupedIssues[year] %}
                                <div class="thumbnail">
                                    <a class="btn" href="{% if isPublisherHosting is defined %}
                                            {{ url('publisher_hosting_journal_issue',{journal_slug:journal.slug,id: issue.id}) }}
                                        {% elseif isJournalHosting is defined %}
                                            {{ url('journal_hosting_issue',{id: issue.id}) }}
                                        {% else %}
                                            {{ url('ojs_issue_page',{journal_slug:journal.slug,id:issue.id}) }}
                                        {% endif %}">

                                        {% if issue.cover is not null %}
                                            <img src="{{ issue.cover|imagine_filter('issue_cover_medium') }}"
                                                 class="img-responsive tr"/>
                                        {% endif %}

                                        {% if issue.inPress %}
                                            <small>({{ 'issue.in_press'|trans }})</small>
                                            <br>
                                        {% endif %}

                                        {{ issueTextGenerate(issue) }}
                                    </a>
                                </div>
                            {% endfor %}
                        </div>
                    </div>
                {% else %}
                    <div class="alert alert-info">
                        {{ 'ojs.any_content'|trans }}
                    </div>
                {% endfor %}
            </div>
            <div class="col-lg-3 col-md-3 col-sm-4 col-xs-12">
                {% include 'OjsSiteBundle:Journal:journal_right_block.html.twig' %}
            </div>
        </div>
    </div>

{% endblock %}
{% block javascripts %}
    {{ parent() }}
    <script type="text/javascript">
        analytics.increase('journal', {{ journal.id }})
    </script>
{% endblock %}
<commit_msg>put in a paragraf to solve many issues<commit_after>{% extends '::ojsbase.html.twig' %}
{% block title %}{{ 'title.archives'|trans }} {{ parent() }}{% endblock %}
{% set hideleft = 1 %}
{% block stylesheets %}
    {{ parent() }}

    <style type="text/css">
        .thumbnail {
            float: left;
            margin-left: 5px;
        }
    </style>
{% endblock %}

{% if isPublisherHosting is defined %}
    {% set journalUrl = url('publisher_hosting_journal_index',{slug:journal.slug}) %}
{% elseif isJournalHosting is defined %}
    {% set journalUrl = url('journal_publisher_hosting') %}
{% else %}
    {% set journalUrl = generateJournalUrl(journal) %}
{% endif %}

{% block breadcrumb %}
    {% set list = [
    {'link': path('ojs_public_index'), 'title': project_name},
    {'link': journalUrl, 'title': journal.title},
    {'title': "archive"|trans}
    ] %}
    {{ breadcrumb(list) }}
{% endblock %}

{% block body %}

    <div class="container">
        <!-- The carousel -->
        <div class="page-header">
            <h1>{{ journal.title }}</h1>
            <h6>{{ journal.subtitle }}</h6>
        </div>
        <div class="row">
            <div class="col-md-9 col-sm-8">
                {% for year in groupedIssues|keys %}
                    <div class="panel panel-default" id="issues_list">
                        <div class="panel-heading toggle-list">
                            <a class="panel-title archive-year-title btn-block" data-toggle="collapse"
                               data-parent="#issues_list" href="#issue_of_{{ year }}">
                                {{ year }}
                                <span class="pull-right fa fa-list"></span>
                            </a>
                        </div>
                        <div class="panel-body collapse" id="issue_of_{{ year }}">
                            {% for issue in groupedIssues[year] %}
                                <div class="thumbnail">
                                    <a class="btn" href="{% if isPublisherHosting is defined %}
                                            {{ url('publisher_hosting_journal_issue',{journal_slug:journal.slug,id: issue.id}) }}
                                        {% elseif isJournalHosting is defined %}
                                            {{ url('journal_hosting_issue',{id: issue.id}) }}
                                        {% else %}
                                            {{ url('ojs_issue_page',{journal_slug:journal.slug,id:issue.id}) }}
                                        {% endif %}">

                                        {% if issue.cover is not null %}
                                            <img src="{{ issue.cover|imagine_filter('issue_cover_medium') }}"
                                                 class="img-responsive tr"/>
                                        {% endif %}

                                        {% if issue.inPress %}
                                            <small>({{ 'issue.in_press'|trans }})</small>
                                            <br>
                                        {% endif %}

                                         <p>{{ issueTextGenerate(issue) }}</p>
                                    </a>
                                </div>
                            {% endfor %}
                        </div>
                    </div>
                {% else %}
                    <div class="alert alert-info">
                        {{ 'ojs.any_content'|trans }}
                    </div>
                {% endfor %}
            </div>
            <div class="col-lg-3 col-md-3 col-sm-4 col-xs-12">
                {% include 'OjsSiteBundle:Journal:journal_right_block.html.twig' %}
            </div>
        </div>
    </div>

{% endblock %}
{% block javascripts %}
    {{ parent() }}
    <script type="text/javascript">
        analytics.increase('journal', {{ journal.id }})
    </script>
{% endblock %}

{'fraction_non_alphanumeric': 0.14289311343321162, 'fraction_numerical': 0.0032733224222585926, 'mean_word_length': 1.1540130151843817, 'pattern_counts': {'":': 0, '<': 83, '<?xml version=': 0, '>': 83, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 68, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6440200', 'n_tokens_mistral': 2106, 'n_tokens_neox': 1896, 'n_words': 379}