<commit_before>{% load static %}
{% load i18n %}

<div class="box article">
    <a href="{% if article.is_remote %}{{ article.remote_url }}{% else %}{{ article.local_url }}{% endif %}"
       class="box-link"></a>
       <div class="clearfix">
        {% if not journal.disable_article_images %}
         <div class="large-2 columns show-for-large-only">
            {% if article.thumbnail_image_file %}
            <img src="{% url 'article_file_download' 'id' article.id article.thumbnail_image_file.id %}"
                 alt="{{ article.title|striptags|escape }}" class="article-thumbnail">
            {% elif request.journal.thumbnail_image %}
                <img src="{% url 'journal_cover_download' %}" class="article-thumbnail">
            {% else %}
            <img src="{% static 'common/img/icons/article.png' %}" alt="{{ article.title|striptags|escape }}"
                 class="article-thumbnail"> {% endif %}
        </div>
        {% endif %}
    <div class="{% if not journal.disable_article_images %}large-10{% endif %} columns end">
            <h2>{{ article.title|safe }}{% if article.is_remote %}&nbsp;<i class="fa fa-external-link small-icon-text"></i>{% endif %}</h2>
           {% include "elements/journal/authors_block.html" %}
            <p><span class="date"><i
                    class="fa fa-calendar"></i> {{ article.date_published|date:"Y-m-d" }}</span> <i
                    class="fa fa-book"></i> {% if article.issue.issue_type.code == 'issue' %}{{ article.issue.display_title }}{% else %}{{ article.issue.issue_title }}{% endif %}</p>
            {% if article.issues.count > 1 %}
              <p><strong><i class="fa fa-info-circle"></i> {% trans 'Also a part of:'%}</strong></p>
              {% for other in article.issues.all %}
              {% if other != article.issue %}
              <p>
                <i class="fa fa-book"></i>
                <a class="issue-link" href={% if other.issue_type.code == 'issue'%}"{% url 'journal_issue' other.pk %}"{% else %}"{% url 'journal_collection' other.pk%}"{% endif %}>
                    {{other.issue_type.pretty_name}}: {{ other.display_title }}
                </a>
              </p>
              {% endif %}
              {% endfor %}
            {% endif %}
        </div><commit_msg>Display article thumbs on large but not 'only'<commit_after>{% load static %}
{% load i18n %}

<div class="box article">
    <a href="{% if article.is_remote %}{{ article.remote_url }}{% else %}{{ article.local_url }}{% endif %}"
       class="box-link"></a>
       <div class="clearfix">
        {% if not journal.disable_article_images %}
         <div class="large-2 columns show-for-large">
            {% if article.thumbnail_image_file %}
            <img src="{% url 'article_file_download' 'id' article.id article.thumbnail_image_file.id %}"
                 alt="{{ article.title|striptags|escape }}" class="article-thumbnail">
            {% elif request.journal.thumbnail_image %}
                <img src="{% url 'journal_cover_download' %}" class="article-thumbnail">
            {% else %}
            <img src="{% static 'common/img/icons/article.png' %}" alt="{{ article.title|striptags|escape }}"
                 class="article-thumbnail"> {% endif %}
        </div>
        {% endif %}
    <div class="{% if not journal.disable_article_images %}large-10{% endif %} columns end">
            <h2>{{ article.title|safe }}{% if article.is_remote %}&nbsp;<i class="fa fa-external-link small-icon-text"></i>{% endif %}</h2>
           {% include "elements/journal/authors_block.html" %}
            <p><span class="date"><i
                    class="fa fa-calendar"></i> {{ article.date_published|date:"Y-m-d" }}</span> <i
                    class="fa fa-book"></i> {% if article.issue.issue_type.code == 'issue' %}{{ article.issue.display_title }}{% else %}{{ article.issue.issue_title }}{% endif %}</p>
            {% if article.issues.count > 1 %}
              <p><strong><i class="fa fa-info-circle"></i> {% trans 'Also a part of:'%}</strong></p>
              {% for other in article.issues.all %}
              {% if other != article.issue %}
              <p>
                <i class="fa fa-book"></i>
                <a class="issue-link" href={% if other.issue_type.code == 'issue'%}"{% url 'journal_issue' other.pk %}"{% else %}"{% url 'journal_collection' other.pk%}"{% endif %}>
                    {{other.issue_type.pretty_name}}: {{ other.display_title }}
                </a>
              </p>
              {% endif %}
              {% endfor %}
            {% endif %}
        </div>
{'fraction_non_alphanumeric': 0.1888551604509974, 'fraction_numerical': 0.003469210754553339, 'mean_word_length': 2.2281315605318404, 'pattern_counts': {'":': 0, '<': 73, '<?xml version=': 0, '>': 75, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6718036', 'n_tokens_mistral': 1482, 'n_tokens_neox': 1346, 'n_words': 282}