<commit_before><!-- .konnector -->

h2.name
    #menu-toggler
        .fa.fa-bars
    span.service-icon
    span #{model.name}

.description!= t(model.description)
.fields
.buttons
    button#import-button #{t('save and import')}

if model.importErrorMessage && !model.isImporting
    .error
        span.error=t('error occurred during import:') + ' '
            span.message=t(model.importErrorMessage)

.status #{status}
.infos
    .date
        span.label #{t('last import:')}&nbsp;
        span.last-import
    .datas
        | #{t('imported data:')}&nbsp;
        for name in model.modelNames
            a(href="/apps/databrowser/#search/all/#{name}", target="_blank")
                  |#{name}&nbsp;
<commit_msg>Add buttons to add or remove a konnector<commit_after><!-- .konnector -->

h2.name
    #menu-toggler
        .fa.fa-bars
    span.service-icon
    span #{model.name}

.description!= t(model.description)
.fields
div
    button.small#add-button #{t('add an account')}
    button.small#remove-button #{t('remove last account')}
.buttons
    button#import-button #{t('save and import')}

if model.importErrorMessage && !model.isImporting
    .error
        span.error=t('error occurred during import:') + ' '
            span.message=t(model.importErrorMessage)

.status #{status}
.infos
    .date
        span.label #{t('last import:')}&nbsp;
        span.last-import
    .datas
        | #{t('imported data:')}&nbsp;
        for name in model.modelNames
            a(href="/apps/databrowser/#search/all/#{name}", target="_blank")
                  |#{name}&nbsp;

{'fraction_non_alphanumeric': 0.16045483259633608, 'fraction_numerical': 0.0012634238787113076, 'mean_word_length': 2.559550561797753, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '5513853', 'n_tokens_mistral': 508, 'n_tokens_neox': 503, 'n_words': 102}