<commit_before>{% extends '::ojsbase.html.twig' %}

{% block body -%}
<div class="large-12 columns">
    <div class="panel">
        <h1>My Journals</h1>
{% if entities %}
        <table class="records_list  table">
            <thead>
                <tr>
                    <th>{% trans %}Journal{% endtrans %}</th>
                    <th>Role</th>
                </tr>
            </thead>
            <tbody>
        {% for entity in entities %}
                <tr>
                    <td><a href="{{ path('editor_journal_show', { 'id': entity.journal.id }) }}">
                            <span class="badge">#{{ entity.journal.id }}</span> {{ entity.journal.title }}</a>
                    </td>
                    <td>
                            {%for role in entity.roles %}
                        <span class="label label-info">{{ role.name }}</span>
                            {%endfor %}
                    </td>
                </tr>
        {% endfor %}
            </tbody>
        </table>
{%else %}

        <div class="alert alert-warning">
            <p>You have no journal.</p>
        </div>
 {%endif%}
    </div>
</div>
    {% endblock %}
<commit_msg>Manager #255<commit_after>{% extends '::ojsbase.html.twig' %}

{% block body -%}
<div class="large-12 columns">
    <div class="panel">
        <h1>My Journals</h1>
{% if entities %}
        <table class="records_list  table">
            <thead>
                <tr>
                    <th>{{"journal"|trans}}</th>
                    <th>Role</th>
                </tr>
            </thead>
            <tbody>
        {% for entity in entities %}
                <tr>
                    <td><a href="{{ path('editor_journal_show', { 'id': entity.journal.id }) }}">
                            <span class="badge">#{{ entity.journal.id }}</span> {{ entity.journal.title }}</a>
                    </td>
                    <td>
                            {%for role in entity.roles %}
                        <span class="label label-info">{{ role.name }}</span>
                            {%endfor %}
                    </td>
                </tr>
        {% endfor %}
            </tbody>
        </table>
{%else %}

        <div class="alert alert-warning">
            <p>You have no journal.</p>
        </div>
 {%endif%}
    </div>
</div>
    {% endblock %}

{'fraction_non_alphanumeric': 0.17232597623089982, 'fraction_numerical': 0.00466893039049236, 'mean_word_length': 1.1544789762340038, 'pattern_counts': {'":': 0, '<': 71, '<?xml version=': 0, '>': 71, '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': '5563358', 'n_tokens_mistral': 724, 'n_tokens_neox': 652, 'n_words': 145}