<commit_before>{#
 This file is part of EC-CUBE

 Copyright(c) 2000-2015 LOCKON CO.,LTD. All Rights Reserved.
 http://www.lockon.co.jp/

 For the full copyright and license information, please view the LICENSE
 file that was distributed with this source code.
#}
{% extends 'default_frame.twig' %}

{% set menus = ['mailmagazine', 'mailmagazine_history'] %}

{% block title %}メルマガ管理{% endblock %}
{% block sub_title %}配信結果{% endblock %}

{% block javascript %}
    <script src="{{ app.config.admin_urlpath }}/assets/js/vendor/jquery.ui/jquery.ui.core.min.js"></script>
    <script src="{{ app.config.admin_urlpath }}/assets/js/vendor/jquery.ui/jquery.ui.widget.min.js"></script>
    <script src="{{ app.config.admin_urlpath }}/assets/js/vendor/jquery.ui/jquery.ui.mouse.min.js"></script>
    <script src="{{ app.config.admin_urlpath }}/assets/js/vendor/jquery.ui/jquery.ui.sortable.min.js"></script>
{% endblock %}

{% block main %}

    <div class="box">
        {% if pagination and pagination.totalItemCount > 0 %}
            <div class="box-header with-arrow">
                <h3 class="box-title">総件数 <span class="normal"><strong>{{ pagination.totalItemCount }} 件</strong> </span></h3>
            </div>
            <div class="box-body">
                <div class="row">
                    <div class="col-md-12">
                        <ul class="sort-dd">
                            <li class="dropdown">
                                {% for pageMax in pageMaxis if pageMax.name == page_count %}
                                <a class="dropdown-toggle" data-toggle="dropdown">{{ pageMax.name|e }}件<svg class="cb cb-angle-down icon_down"><use xlink:href="#cb-angle-down"></svg></a>
                                <ul class="dropdown-menu">
                                    {% endfor %}
                                    {% for pageMax in pageMaxis if pageMax.name != page_count %}
                                        <li><a href="{{ path('admin_mail_magazine_history_result', {'id': app.request.query.get('id'), 'page_no': 1, 'page_count': pageMax.name}) }}">{{ pageMax.name|e }}件</a></li>
                                    {% endfor %}
                                </ul>
                            </li>
                        </ul>
                    </div>
                </div>
                <div class="table_list">
                    <div class="table-responsive with-border">
                        <table class="table table-striped">
                            <thead>
                            <tr>
                                <th>ステータス</th>
                                <th>会員ID</th>
                                <th>送信先</th>
                                <th>名前</th>
                            </tr>
                            </thead>
                            <tbody>
                            {% for result in pagination %}
                                <tr>
                                    <td>
                                        {% if result.status == '0' %}
                                            <span class="label">未送信</span>
                                        {% elseif result.status == '1' %}
                                            <span class="label label-success">送信済み</span>
                                        {% elseif result.status == '2' %}
                                            <span class="label label-danger">送信失敗</span>
                                        {% else %}
                                            {{ result.status }}
                                        {% endif %}
                                    </td>
                                    <td>
                                        <a href="{{ url('admin_customer_edit', { id : result.customerId }) }}">{{ result.customerId }}</a>
                                    </td>
                                    <td>{{ result.email }}</td>
                                    <td>{{ result.name }}</td>
                                </tr>
                            {% endfor %}
                            </tbody>
                        </table>
                    </div>
                </div>
            </div>
            {% include "pager.twig" with { 'pages' : pagination.paginationData, 'routes' : 'plugin_mail_magazine_history_result' } %}
        {% else %}
            <div class="box-header with-arrow">
                <h3 class="box-title">該当するデータがありませんでした。</h3>
            </div>
        {% endif %}
    </div>
    <div class="row">
        <div class="col-xs-10 col-xs-offset-1 col-sm-6 col-sm-offset-3 text-center btn_area">
            <p><a href="{{ url('admin_mail_magazine_history') }}" class="btn btn-primary btn-block btn-lg">戻る</a></p>
        </div>
    </div>
{% endblock %}<commit_msg>配信結果画面のリンク切れを修正<commit_after>{#
 This file is part of EC-CUBE

 Copyright(c) 2000-2015 LOCKON CO.,LTD. All Rights Reserved.
 http://www.lockon.co.jp/

 For the full copyright and license information, please view the LICENSE
 file that was distributed with this source code.
#}
{% extends 'default_frame.twig' %}

{% set menus = ['mailmagazine', 'mailmagazine_history'] %}

{% block title %}メルマガ管理{% endblock %}
{% block sub_title %}配信結果{% endblock %}

{% block javascript %}
    <script src="{{ app.config.admin_urlpath }}/assets/js/vendor/jquery.ui/jquery.ui.core.min.js"></script>
    <script src="{{ app.config.admin_urlpath }}/assets/js/vendor/jquery.ui/jquery.ui.widget.min.js"></script>
    <script src="{{ app.config.admin_urlpath }}/assets/js/vendor/jquery.ui/jquery.ui.mouse.min.js"></script>
    <script src="{{ app.config.admin_urlpath }}/assets/js/vendor/jquery.ui/jquery.ui.sortable.min.js"></script>
{% endblock %}

{% block main %}

    <div class="box">
        {% if pagination and pagination.totalItemCount > 0 %}
            <div class="box-header with-arrow">
                <h3 class="box-title">総件数 <span class="normal"><strong>{{ pagination.totalItemCount }} 件</strong> </span></h3>
            </div>
            <div class="box-body">
                <div class="row">
                    <div class="col-md-12">
                        <ul class="sort-dd">
                            <li class="dropdown">
                                {% for pageMax in pageMaxis if pageMax.name == page_count %}
                                <a class="dropdown-toggle" data-toggle="dropdown">{{ pageMax.name|e }}件<svg class="cb cb-angle-down icon_down"><use xlink:href="#cb-angle-down"></svg></a>
                                <ul class="dropdown-menu">
                                    {% endfor %}
                                    {% for pageMax in pageMaxis if pageMax.name != page_count %}
                                        <li><a href="{{ path('plugin_mail_magazine_history_result', {'id': app.request.query.get('id'), 'page_no': 1, 'page_count': pageMax.name}) }}">{{ pageMax.name|e }}件</a></li>
                                    {% endfor %}
                                </ul>
                            </li>
                        </ul>
                    </div>
                </div>
                <div class="table_list">
                    <div class="table-responsive with-border">
                        <table class="table table-striped">
                            <thead>
                            <tr>
                                <th>ステータス</th>
                                <th>会員ID</th>
                                <th>送信先</th>
                                <th>名前</th>
                            </tr>
                            </thead>
                            <tbody>
                            {% for result in pagination %}
                                <tr>
                                    <td>
                                        {% if result.status == '0' %}
                                            <span class="label">未送信</span>
                                        {% elseif result.status == '1' %}
                                            <span class="label label-success">送信済み</span>
                                        {% elseif result.status == '2' %}
                                            <span class="label label-danger">送信失敗</span>
                                        {% else %}
                                            {{ result.status }}
                                        {% endif %}
                                    </td>
                                    <td>
                                        <a href="{{ url('admin_customer_edit', { id : result.customerId }) }}">{{ result.customerId }}</a>
                                    </td>
                                    <td>{{ result.email }}</td>
                                    <td>{{ result.name }}</td>
                                </tr>
                            {% endfor %}
                            </tbody>
                        </table>
                    </div>
                </div>
            </div>
            {% include "pager.twig" with { 'pages' : pagination.paginationData, 'routes' : 'plugin_mail_magazine_history_result' } %}
        {% else %}
            <div class="box-header with-arrow">
                <h3 class="box-title">該当するデータがありませんでした。</h3>
            </div>
        {% endif %}
    </div>
    <div class="row">
        <div class="col-xs-10 col-xs-offset-1 col-sm-6 col-sm-offset-3 text-center btn_area">
            <p><a href="{{ url('plugin_mail_magazine_history') }}" class="btn btn-primary btn-block btn-lg">戻る</a></p>
        </div>
    </div>
{% endblock %}
{'fraction_non_alphanumeric': 0.1413178615830916, 'fraction_numerical': 0.004973062577704103, 'mean_word_length': 1.0980221690936753, 'pattern_counts': {'":': 0, '<': 181, '<?xml version=': 0, '>': 183, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, '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': '6175951', 'n_tokens_mistral': 2667, 'n_tokens_neox': 2459, 'n_words': 482}