app/template/default/Block/calendar.twig line 1

Open in your IDE?
  1. {#
    This file is part of EC-CUBE
    
    Copyright(c) EC-CUBE CO.,LTD. All Rights Reserved.
    
    http://www.ec-cube.co.jp/
    
    For the full copyright and license information, please view the LICENSE
    file that was distributed with this source code.
    #}
    {#{% form_theme form 'Form/form_div_layout.twig' %}#}
    
    <div class="container fadeinu block_box">
        <div id="calendar_block">
            <div class="ec-secHeading">
                <span class="ec-secHeading__en">{{ 'CALENDAR'|trans }}</span><br>
                <span class="ec-secHeading__ja"><h2>{{ '営業日カレンダー'|trans }}</h2></span>
            </div>
            <div class="note"><span></span>:店休日 <span></span>:本日</div>
            <div id="calendar_contents" class="list_between">
                <div>
                    <div class="calendar__title">{{ ThisMonthTitle }}</div>
                    <table id="this-month-table" class="calendar__month">
                        <tr>
                            <th class="ec-calendar__sun">{{ '日'|trans }}</th>
                            <th class="ec-calendar__mon">{{ '月'|trans }}</th>
                            <th class="ec-calendar__tue">{{ '火'|trans }}</th>
                            <th class="ec-calendar__wed">{{ '水'|trans }}</th>
                            <th class="ec-calendar__thu">{{ '木'|trans }}</th>
                            <th class="ec-calendar__fri">{{ '金'|trans }}</th>
                            <th class="ec-calendar__sat">{{ '土'|trans }}</th>
                        </tr>
                        <tr>
                            {% for day in ThisMonthCalendar %}
                                {% if day.today == 1 and day.holiday == 1 %}
                                    <td id="today-and-holiday" class="calendar__today calendar__holiday">{{ day.day }}</td>
                                {% elseif day.today == 1 and day.holiday == 0 %}
                                    <td id="today" class="calendar__today">{{ day.day }}</td>
                                {% elseif day.today == 0 and day.holiday == 1 %}
                                    <td id="this-month-holiday-{{ day.day }}" class="calendar__holiday">{{ day.day }}</td>
                                {% else %}
                                    <td class="calendar__day">{{ day.day }}</td>
                                {% endif %}
                                {% if loop.index % 7 == 0 and loop.index != ThisMonthCalendar|length %}
                                    </tr><tr>
                                {% endif %}
                            {% endfor %}
                        </tr>
                    </table>
                </div>
    
                <div>
                    <div class="calendar__title">{{ NextMonthTitle }}</div>
                    <table id="next-month-table" class="calendar__month">
                        <tr>
                            <th class="ec-calendar__sun">{{ '日'|trans }}</th>
                            <th class="ec-calendar__mon">{{ '月'|trans }}</th>
                            <th class="ec-calendar__tue">{{ '火'|trans }}</th>
                            <th class="ec-calendar__wed">{{ '水'|trans }}</th>
                            <th class="ec-calendar__thu">{{ '木'|trans }}</th>
                            <th class="ec-calendar__fri">{{ '金'|trans }}</th>
                            <th class="ec-calendar__sat">{{ '土'|trans }}</th>
                        </tr>
                        <tr>
                            {% for day in NextMonthCalendar %}
                                {% if day.holiday == 1 %}
                                    <td id="next-month-holiday-{{ day.day }}" class="calendar__holiday">{{ day.day }}</td>
                                {% else %}
                                    <td class="calendar__day">{{ day.day }}</td>
                                {% endif %}
                                {% if loop.index % 7 == 0 and loop.index != NextMonthCalendar|length %}
                                    </tr><tr>
                                {% endif %}
                            {% endfor %}
                        </tr>
                    </table>
                </div>
            </div>
        </div>
        <p>
            営業時間 平日10:00~17:00<br>
            定休日 土・日・祝<br>
            その他休業日 ゴールデンウイーク・盆・年末年始・臨時休業日あり
        </p>
        営業時間外・休業日は、お問い合わせの対応および発送業務を行っておりません。ご了承くださいませ。<br>
        ネットからのご注文はいつでも可能です。
    </div>