<commit_before>{% extends "base.html" %}
{% load url from future %}
{% load i18n %}

{% block title %}{% trans "Copy Object" %}{% endblock %}
{% block smallheader %}{% trans "Copy" %}{% endblock %}
{% block largeheader %}{{ object.object_type }}{% endblock %}
{% block nav1 %}<a href="{% url "objectbrowser" %}">{% trans "Object Browser" %}</a>{% endblock %}
{% block toolbar %}{% endblock %}


{% block content %}
    {% if success %}
        {% for i in copied_objects %}
            <div class="alert alert-success">
                <button class="close" data-dismiss="alert">×</button>
                <strong>{% trans "Success!" %}</strong>
		{% url "edit_object" i.id as the_url %}
                {% blocktrans with type=i.object_type desc=u.description file=i.filename %}
		{{ type }} <a href="{{ the_url }}">"{{ desc }}"</a> was successfully saved to {{ file }}.<commit_msg>Fix missing description of copied objects<commit_after>{% extends "base.html" %}
{% load url from future %}
{% load i18n %}

{% block title %}{% trans "Copy Object" %}{% endblock %}
{% block smallheader %}{% trans "Copy" %}{% endblock %}
{% block largeheader %}{{ object.object_type }}{% endblock %}
{% block nav1 %}<a href="{% url "objectbrowser" %}">{% trans "Object Browser" %}</a>{% endblock %}
{% block toolbar %}{% endblock %}


{% block content %}
    {% if success %}
        {% for i in copied_objects %}
            <div class="alert alert-success">
                <button class="close" data-dismiss="alert">×</button>
                <strong>{% trans "Success!" %}</strong>
		{% url "edit_object" i.id as the_url %}
                {% blocktrans with type=i.object_type desc=i.description file=i.filename %}
		{{ type }} <a href="{{ the_url }}">"{{ desc }}"</a> was successfully saved to {{ file }}.
{'fraction_non_alphanumeric': 0.2028985507246377, 'fraction_numerical': 0.0033444816053511705, 'mean_word_length': 3.2942583732057416, 'pattern_counts': {'":': 0, '<': 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': '3099980', 'n_tokens_mistral': 612, 'n_tokens_neox': 528, 'n_words': 159}