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

<!-- Menu -->
<div id="menu-panel" class="ep-menu" style="display: none;" data-bind="visible:menuActive()">
    <div class="panel ep-menu-panel relative" style="">

        <!-- Menu List -->
        <div class="panel-body">
            <ul class="list-group ep-menu-list editor-tools">

                <!-- Menu Item -->
                <li id="settings-manager" class="edit-menu-item" data-bind="css: {'disabled': !resourceId()}">
                    <a href="" target="" class="" data-bind="click: copyResource">
                        <div class="media-body">
                            <div class="menu-item-title"><i class="fa fa-copy"></i> {% trans "Copy Resource" %} </div>
                            <span class="text-muted menu-item-subtitle">{% trans "Make a copy and start editing" %}</span>
                        </div>
                    </a>
                </li>

                <!-- Menu Item -->
                <li id="card-manager" class="edit-menu-item" data-bind="css: {'disabled': !resourceId()}">
                    <a href="" target="" class="" data-bind="click: deleteResource">
                        <div class="media-body">
                            <div class="menu-item-title"><i class="fa fa-trash"></i> {% trans "Delete Resource" %} </div>
                            <span class="text-muted menu-item-subtitle">{% trans "Permanently delete this resource" %}</span>
                        </div>
                    </a>
                </li>

                <!-- Menu Item -->
                <li id="history-manager" class="edit-menu-item" data-bind="css: {'disabled': !resourceId()}">
                    <a id="edit-history-btn" href="#" data-bind="click: viewEditHistory">
                        <div class="media-body">
                            <div class="menu-item-title"><i class="fa fa-step-backward"></i> {% trans "Review Edit History" %}</div>
                            <span class="text-muted menu-item-subtitle">{% trans "View changes to this resource record" %}</span>
                        </div>
                    </a>
                </li>

                <!-- Menu Item -->
                <li id="report-manager" class="edit-menu-item" data-bind="css: {'disabled': !resourceId()}">
                    <a href="#" data-bind="click: function() { viewReport(false) }">
                        <div class="media-body">
                            <div class="menu-item-title"><i class="fa fa-book"></i> {% trans "Jump to Report" %}</div>
                            <span class="text-muted menu-item-subtitle">{% trans "View the full resource report" %}</span>
                        </div>
                    </a>
                </li>

                <li id="report-manager" class="edit-menu-item" data-bind="css: {'disabled': !resourceId()}">
                    <a href="#" data-bind="click: function() { viewReport(true) }">
                        <div class="media-body">
                            <div class="menu-item-title"><i class="fa fa-book"></i> {% trans "Print Report" %}</div>
                            <span class="text-muted menu-item-subtitle">{% trans "Print the full resource report" %}</span>
                        </div>
                    </a>
                </li>

            </ul>
        </div>

    </div>
</div>
<commit_msg>improves print button icon, re: #3866<commit_after>{% load staticfiles %}
{% load i18n %}

<!-- Menu -->
<div id="menu-panel" class="ep-menu" style="display: none;" data-bind="visible:menuActive()">
    <div class="panel ep-menu-panel relative" style="">

        <!-- Menu List -->
        <div class="panel-body">
            <ul class="list-group ep-menu-list editor-tools">

                <!-- Menu Item -->
                <li id="settings-manager" class="edit-menu-item" data-bind="css: {'disabled': !resourceId()}">
                    <a href="" target="" class="" data-bind="click: copyResource">
                        <div class="media-body">
                            <div class="menu-item-title"><i class="fa fa-copy"></i> {% trans "Copy Resource" %} </div>
                            <span class="text-muted menu-item-subtitle">{% trans "Make a copy and start editing" %}</span>
                        </div>
                    </a>
                </li>

                <!-- Menu Item -->
                <li id="card-manager" class="edit-menu-item" data-bind="css: {'disabled': !resourceId()}">
                    <a href="" target="" class="" data-bind="click: deleteResource">
                        <div class="media-body">
                            <div class="menu-item-title"><i class="fa fa-trash"></i> {% trans "Delete Resource" %} </div>
                            <span class="text-muted menu-item-subtitle">{% trans "Permanently delete this resource" %}</span>
                        </div>
                    </a>
                </li>

                <!-- Menu Item -->
                <li id="history-manager" class="edit-menu-item" data-bind="css: {'disabled': !resourceId()}">
                    <a id="edit-history-btn" href="#" data-bind="click: viewEditHistory">
                        <div class="media-body">
                            <div class="menu-item-title"><i class="fa fa-step-backward"></i> {% trans "Review Edit History" %}</div>
                            <span class="text-muted menu-item-subtitle">{% trans "View changes to this resource record" %}</span>
                        </div>
                    </a>
                </li>

                <!-- Menu Item -->
                <li id="report-manager" class="edit-menu-item" data-bind="css: {'disabled': !resourceId()}">
                    <a href="#" data-bind="click: function() { viewReport(false) }">
                        <div class="media-body">
                            <div class="menu-item-title"><i class="fa fa-book"></i> {% trans "Jump to Report" %}</div>
                            <span class="text-muted menu-item-subtitle">{% trans "View the full resource report" %}</span>
                        </div>
                    </a>
                </li>

                <li id="report-manager" class="edit-menu-item" data-bind="css: {'disabled': !resourceId()}">
                    <a href="#" data-bind="click: function() { viewReport(true) }">
                        <div class="media-body">
                            <div class="menu-item-title"><i class="fa fa-print"></i> {% trans "Print Report" %}</div>
                            <span class="text-muted menu-item-subtitle">{% trans "Print the full resource report" %}</span>
                        </div>
                    </a>
                </li>

            </ul>
        </div>

    </div>
</div>

{'fraction_non_alphanumeric': 0.17647058823529413, 'fraction_numerical': 0.0011735367463693706, 'mean_word_length': 1.4685010861694425, 'pattern_counts': {'":': 0, '<': 151, '<?xml version=': 0, '>': 151, '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': '5448012', 'n_tokens_mistral': 1880, 'n_tokens_neox': 1767, 'n_words': 429}