<commit_before>{% extends request.ajax ? "layout_blank.phtml" : "layout_default.phtml" %}
{% import "macro_functions.phtml" as mf %}
{% block meta_title %}{% trans 'Email history' %}{% endblock %}
{% set active_menu = 'activity' %}

{% block content %}
<div class="widget">
    <div class="head"><h5 class="iFrames">{% trans 'Email history' %}</h5></div>

{{ mf.table_search }}<commit_msg>Added informational message to sent emails list view if mail logging is not enabled #238 #231<commit_after>{% extends request.ajax ? "layout_blank.phtml" : "layout_default.phtml" %}
{% import "macro_functions.phtml" as mf %}
{% block meta_title %}{% trans 'Email history' %}{% endblock %}
{% set active_menu = 'activity' %}

{% block content %}

{% set config = admin.extension_config_get({"ext":"mod_email"}) %}
{% if config.log_enabled is not defined or config.log_enabled != 1 %}
<div class="nNote nInformation first">
    <p><strong>{% trans 'INFORMATION' %}: </strong>{% trans 'Email logging is not enabled. If you want to log sent mails to database, enable it in' %}
        <a href="{{'extension/settings/email'|alink}}"> {% trans 'email settings.' %}</a>
    </p>
</div>
{% endif %}

<div class="widget">
    <div class="head"><h5 class="iFrames">{% trans 'Email history' %}</h5></div>

{{ mf.table_search }}
{'fraction_non_alphanumeric': 0.18850574712643678, 'fraction_numerical': 0.00842911877394636, 'mean_word_length': 4.990825688073395, 'pattern_counts': {'":': 1, '<': 21, '<?xml version=': 0, '>': 21, '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': '7388055', 'n_tokens_mistral': 455, 'n_tokens_neox': 413, 'n_words': 121}