<commit_before>{# src/JDA/CoreBundle/Resources/views/Collection/collection.html.twig #}

{% extends 'JDACoreBundle:Search:search.html.twig' %}

{% block filter %}


	<script>
			sessionStorage.setItem('filterType','collection');
			sessionStorage.setItem('filterId', {{ filterId }});
	
	</script>
	
	    
		<div class="row-fluid">
			<div id="jda-collection-filter-new" class="span9"></div>
    </div>
    <div class="row-fluid">
      <span><a _target="blank" href="http://jdaeditor.herokuapp.com/#/{{ filterId }}">{% trans %}jda.presentation.link{% endtrans %}</a></span>
    </div>

{% endblock %}
<commit_msg>check to see if logged in before displaying view pres<commit_after>{# src/JDA/CoreBundle/Resources/views/Collection/collection.html.twig #}

{% extends 'JDACoreBundle:Search:search.html.twig' %}

{% block filter %}


	<script>
			sessionStorage.setItem('filterType','collection');
			sessionStorage.setItem('filterId', {{ filterId }});
	
	</script>
	
	    
		<div class="row-fluid">
			<div id="jda-collection-filter-new" class="span9"></div>
    </div>
    <div class="row-fluid">
      {% if userId != 0 %}
        <span><a _target="blank" href="http://jdaeditor.herokuapp.com/#/{{ filterId }}">{% trans %}jda.presentation.link{% endtrans %}</a></span>
      {% endif %}
    </div>

{% endblock %}

{'fraction_non_alphanumeric': 0.2025894897182026, 'fraction_numerical': 0.002284843869002285, 'mean_word_length': 3.9584905660377356, 'pattern_counts': {'":': 0, '<': 27, '<?xml version=': 0, '>': 27, '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': '6720649', 'n_tokens_mistral': 496, 'n_tokens_neox': 437, 'n_words': 71}