{% extends "_base.html" %} {% load i18n %} {% load labelbase_tags %} {% load importer_tags %} {% load sekizai_tags %} {% load bootstrap %} {% block content %} {#% include "_labelbase_header_info_menu.html" %#} {# TODO: Models / Forms aren't loaded if included like that ^^^ – using a simplified header #} {# TODO: Fix & merge is a bit a mess, rework this ASAP. #} {% if labelbase %}

{% block title %}{{ labelbase.name }} {% endblock %}

{% if labelbase.fingerprint %}{{ labelbase.fingerprint }} {% endif %} {% if labelbase.about %}

{{ labelbase.about}}

{% endif %}
{% else %}

There is no such labelbase.

{% endif %} {# simplified header #}
{% if fix_suggestions %} {% if fix_suggestions == 1 %} There is {{ fix_suggestions }} suggestsion! {% else %} There are {{ fix_suggestions }} suggestions! {% endif %} {% comment %} {% if resulting_duplicates_all_identical_current_record_count %}
Merge duplicate with identical attributes

Multiple labels with identical type, ref, label, origin and spendable attributes exists within the same labelbase.

Automatically merge {{ resulting_duplicates_all_identical_current_record_count }} labels into {{ resulting_duplicates_all_identical_final_record_count }} unique labels.

TODO: Show hint for auto cleanup (profile settings).
{% endif %} {% endcomment %} {% comment %} {% for problem in all_identical_records %}
all_identical_records Merge duplicate with identical type, ref and label

Multiple labels with the same type '{{ problem.type }}', ref '{{ problem.ref }}' and label '{{ problem.label }}' exist within the same labelbase.


TODO: Depending on the attrs it's totally safe to automerge these recods.
TODO: Group those instead of listening one after the other, eg. 109 indentical records.
TODO: Show hint for auto cleanup (profile settings).
{% endfor %} {% endcomment %} {% comment %} {% for problem in resulting_duplicates_type_and_ref_and_label %}
Merge duplicate with identical type, ref and label

Multiple labels with the same type '{{ problem.type }}', ref '{{ problem.ref }}' and label '{{ problem.label }}' exist within the same labelbase.


TODO: Depending on the attrs it's totally safe to automerge these recods.
TODO: Group those instead of listening one after the other, eg. 109 indentical records.
TODO: Show hint for auto cleanup (profile settings).
{% endfor %} {% endcomment %} {% comment %} {% for problem in resulting_duplicates_type_and_ref %}
Merge duplicate{# .. with different attributes" #}{# vs "Merge duplicate with identical attributes" #}

Multiple labels with the same type '{{ problem.type }}' and ref '{{ problem.ref }}' exist within the same labelbase.

{% endfor %} {% endcomment %} {% if fix_suggestions %} {% else %} Well done! Nothing to complain. {% endif %} {% comment %}
Merge duplicate with identical attributes
{{ problem.type }} / {{ problem.ref }}

You have duplicated labels in your system. Please review and remove duplicates.

{% endcomment %} {% comment %}
Duplicated Labels

You have duplicated labels in your system. Please review and remove duplicates.

{% endcomment %} {% if resulting_empty_label_records %}
{{ resulting_empty_label_records|length }} Empty Labels

There are empty label texts in your labelbase. Add a label text to these labels for better organization.

    {% for problem in resulting_empty_label_records %}
  • Record with type '{{ problem.type }}' and
    ref '{{ problem.ref }}' has an empty label text. Edit Label
  • {% endfor %}
{% endif %} {% if resulting_too_long_label_records %}
{{ resulting_too_long_label_records|length }} Labels are too long

There are too long label texts in your labelbase.

BIP-329 suggests: Importing wallet may ignore records it does not store, and truncate labels if necessary. A suggested default for maximum label length is 255 characters, and an importing wallet should consider warning the user if truncation is applied.

    {% for problem in resulting_too_long_label_records %}
  • Record with type '{{ problem.type }}' and
    ref '{{ problem.ref }}' has a too long label text. Edit Label
  • {% endfor %}
{% endif %} {% comment %}
Label too long

This label exceeds the maximum length of 255 characters for this record.

{% endcomment %} {% comment %}
Incorrect Labels

Some labels have incorrect information. Please update them for accuracy.

{% endcomment %} {% comment %}
Missing Labels

Some labels are missing in your addresses derived from the XPUB. Add them for better organization.

{% endcomment %} {% else %} {# fix_suggestions #} All good. Great job! {% endif %} {# no fix_suggestions #}
{% endblock %}