<commit_before>{layout '../@layout.latte'}

{block #content}

<div class="c-header">
    <h2>Newsletter lists</h2>
</div>
<div class="card">
    <div class="card-header">
        <h2>Show newsletter lists <span class="text-muted">{$list->title}</span> <small>Lorem ipsum dolor sit amet, consectetur adipiscing elit</small></h2>
        <ul class="actions">
            <li class="dropdown action-show">
                <a href="" data-toggle="dropdown">
                    <i class="zmdi zmdi-more-vert"></i>
                </a>
                <ul class="dropdown-menu dropdown-menu-right dm-icon">
                    <li>
                        <a href="{$list->preview_url}"><i class="zmdi zmdi-search"></i> Preview</a>
                    </li>
                    <li>
                        <a href="{$list->image_url}"><i class="zmdi zmdi-image-o"></i> List image</a>
                    </li>
                </ul>
            </li>
        </ul>

    </div>
    <div class="card-body card-padding">
    </div>
</div>

<div class="row">
    <div class="col-md-4">
        <div class="card">
            <div class="card-header">
                <h2>Settings</h2>
            </div>
            <div class="card-body">
                <ul class="list-group">
                    <li class="list-group-item"><strong>Category:</strong> {$list->type_category->title}</li>
                    <li class="list-group-item"><strong>Priority:</strong> {$list->priority}</li>
                    <li class="list-group-item"><strong>Code:</strong> {$list->code}</li>
                    <li class="list-group-item"><strong>Description:</strong> {$list->description}</li>
                    <li class="list-group-item"><strong>Auto subscribe:</strong> {$list->auto_subscribe|YesNo}</li>
                    <li class="list-group-item"><strong>Locked:</strong> {$list->locked|YesNo}</li>
                    <li class="list-group-item"><strong>Public:</strong> {$list->is_public|YesNo}</li><commit_msg>fixed check for existing url + list description as raw html<commit_after>{layout '../@layout.latte'}

{block #content}

<div class="c-header">
    <h2>Newsletter lists</h2>
</div>
<div class="card">
    <div class="card-header">
        <h2>Show newsletter lists <span class="text-muted">{$list->title}</span> <small>Lorem ipsum dolor sit amet, consectetur adipiscing elit</small></h2>
        <ul class="actions">
            <li class="dropdown action-show">
                <a href="" data-toggle="dropdown">
                    <i class="zmdi zmdi-more-vert"></i>
                </a>
                <ul class="dropdown-menu dropdown-menu-right dm-icon">
                    <li>
                        <a n:ifset="$list->preview_url" href="{$list->preview_url}"><i class="zmdi zmdi-search"></i> Preview</a>
                    </li>
                    <li>
                        <a n:ifset="$list->image_url" href="{$list->image_url}"><i class="zmdi zmdi-image-o"></i> List image</a>
                    </li>
                </ul>
            </li>
        </ul>

    </div>
    <div class="card-body card-padding">
    </div>
</div>

<div class="row">
    <div class="col-md-4">
        <div class="card">
            <div class="card-header">
                <h2>Settings</h2>
            </div>
            <div class="card-body">
                <ul class="list-group">
                    <li class="list-group-item"><strong>Category:</strong> {$list->type_category->title}</li>
                    <li class="list-group-item"><strong>Priority:</strong> {$list->priority}</li>
                    <li class="list-group-item"><strong>Code:</strong> {$list->code}</li>
                    <li class="list-group-item"><strong>Description:</strong> {$list->description|noescape}</li>
                    <li class="list-group-item"><strong>Auto subscribe:</strong> {$list->auto_subscribe|YesNo}</li>
                    <li class="list-group-item"><strong>Locked:</strong> {$list->locked|YesNo}</li>
                    <li class="list-group-item"><strong>Public:</strong> {$list->is_public|YesNo}</li>
{'fraction_non_alphanumeric': 0.18945834345397133, 'fraction_numerical': 0.003400534369686665, 'mean_word_length': 1.9519713261648746, 'pattern_counts': {'":': 0, '<': 153, '<?xml version=': 0, '>': 177, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '970266', 'n_tokens_mistral': 1267, 'n_tokens_neox': 1210, 'n_words': 214}