<commit_before>{% extends "ICAPWebBiblioBundle::base.html.twig" %}

{% block title %}
    {{parent()}} : vos liens
{% endblock %}

{% block content %}
    
    {% include 'ICAPWebBiblioBundle:Front:disconnect.html.twig' %}
    {% include 'ICAPWebBiblioBundle:Front:flashmessage.html.twig' %}
    <div class="webLinkListBlock">  
        <div class="listHeader">Here you can find all webLinks</div>
            
        <ul id="link-list">

        {# On affiche les pages : "Précédent 1 2 3 ... 4 5 Suivant" #}
        {% if pager.haveToPaginate %}
            {{ pagerfanta(pager, 'twitter_bootstrap', {'proximity' : 1, 'routeName': 'web_biblio_all_paginated'}) }}
        {% endif %}

        {# On boucle sur le pager contenant nos news paginées #}
        {% for webLink in pager.currentPageResults %}
             <li>
                {% if is_granted('EDIT', webLink) %}
                    <form method="POST" action="{{ path('web_biblio_remove', { 'id': webLink.id}) }}">
                        <input border="0" title="Delete" src="{{ asset('bundles/icapwebbiblio/images/cancel.png') }}" type="image" value="submit" align="middle" />
                    </form> 
                    {% if webLink.published %}
                    <form method="POST" action="{{ path('web_biblio_publish', { 'id': webLink.id, 'value': '0' }) }}">
                        <input border="0" title="Unpublish" src="{{ asset('bundles/icapwebbiblio/images/accept.png') }}" type="image" value="submit" align="middle" > 
                    {% else %}
                    <form method="POST" action="{{ path('web_biblio_publish', { 'id': webLink.id, 'value': '1' }) }}">
                        <input border="0" title="Publish" src="{{ asset('bundles/icapwebbiblio/images/delete.png') }}" type="image" value="submit" align="middle" > 
                    {% endif %}
                {% endif %}
                
                
                
                    <a href="{{ webLink.url }}" target="_blank">{{ webLink.url }}</a>
                    <span class="webLinkTags">[
                    {% for tag in webLink.tags %} 
                        {{ tag.name }}{% if not loop.last %},{% endif %}
                    {% endfor %}<commit_msg>Delete blank lines<commit_after>{% extends "ICAPWebBiblioBundle::base.html.twig" %}

{% block title %}
    {{parent()}} : vos liens
{% endblock %}

{% block content %}
    
    {% include 'ICAPWebBiblioBundle:Front:disconnect.html.twig' %}
    {% include 'ICAPWebBiblioBundle:Front:flashmessage.html.twig' %}
    <div class="webLinkListBlock">  
        <div class="listHeader">Here you can find all webLinks</div>
            
        <ul id="link-list">

        {# On affiche les pages : "Précédent 1 2 3 ... 4 5 Suivant" #}
        {% if pager.haveToPaginate %}
            {{ pagerfanta(pager, 'twitter_bootstrap', {'proximity' : 1, 'routeName': 'web_biblio_all_paginated'}) }}
        {% endif %}

        {# On boucle sur le pager contenant nos news paginées #}
        {% for webLink in pager.currentPageResults %}
             <li>
                {% if is_granted('EDIT', webLink) %}
                    <form method="POST" action="{{ path('web_biblio_remove', { 'id': webLink.id}) }}">
                        <input border="0" title="Delete" src="{{ asset('bundles/icapwebbiblio/images/cancel.png') }}" type="image" value="submit" align="middle" />
                    </form> 
                    {% if webLink.published %}
                    <form method="POST" action="{{ path('web_biblio_publish', { 'id': webLink.id, 'value': '0' }) }}">
                        <input border="0" title="Unpublish" src="{{ asset('bundles/icapwebbiblio/images/accept.png') }}" type="image" value="submit" align="middle" > 
                    {% else %}
                    <form method="POST" action="{{ path('web_biblio_publish', { 'id': webLink.id, 'value': '1' }) }}">
                        <input border="0" title="Publish" src="{{ asset('bundles/icapwebbiblio/images/delete.png') }}" type="image" value="submit" align="middle" > 
                    {% endif %}
                {% endif %}
                
                    <a href="{{ webLink.url }}" target="_blank">{{ webLink.url }}</a>
                    <span class="webLinkTags">[
                    {% for tag in webLink.tags %} 
                        {{ tag.name }}{% if not loop.last %},{% endif %}
                    {% endfor %}
{'fraction_non_alphanumeric': 0.17120973192160396, 'fraction_numerical': 0.004956071187204325, 'mean_word_length': 2.010169491525424, 'pattern_counts': {'":': 0, '<': 33, '<?xml version=': 0, '>': 33, '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': '2143728', 'n_tokens_mistral': 1419, 'n_tokens_neox': 1272, 'n_words': 268}