<commit_before>{% extends "admin_kompomaatti/base.html" %}
{% load uni_form_tags %}

{% block title %}{{ block.super }} - Entryt{% endblock %}

{% block head %}
{{ block.super }}
{% endblock %}

{% block crumbs %}
{{ block.super }}
		&raquo; <a href="/manage/{{ selected_event_id }}/kompomaatti/entries/">Entryt</a>
		&raquo; Selaa
{% endblock %}

{% block jquery %}
{{ block.super }}
	$("#entry_table").tablesorter({widgets: ['zebra'], sortList: [[0,0],]}).tablesorterPager({container: $("#entry_pager")}); 
{% endblock %}

{% block content %}
{{ block.super }}
    <h2>Entryt</h2>
{% if entries %}
	<table id="entry_table" class="tablesorter">
		<thead>
			<tr>
				<th>Nimi</th>
				<th>Tekijä</th>
				<th>Käyttäjä</th>
				<th>Kompo</th>
				<th>Lataa</th>
				<th class="sorter-false"></th>
			</tr>
		</thead>
		<tbody>
{% for entry in entries %}
			<tr>
				<td>{{ entry.name }}</td>
				<td>{{ entry.creator }}</td>
				<td>{{ entry.user.email }}</td>
				<td>{{ entry.compo.name }}</td>
				<td><a href="{{ entry.entryfile.url }}">Lataa</a></td>
	            <td>
{% if perms.kompomaatti.change_entry %}
	            	<a href="/manage/{{ selected_event_id }}/kompomaatti/editentry/{{ entry.id }}/" class="edit_link">Muokkaa</a>
{% endif %}
{% if perms.kompomaatti.delete_entry %}
	            	<a href="/manage/{{ selected_event_id }}/kompomaatti/deleteentry/{{ entry.id }}/ class="delete_link"">Poista</a>
{% endif %}
	            </td>
			</tr>
{% endfor %}
		</tbody>
	</table>
	<div id="entry_pager" class="pager">
		{% include "common/pagination.html" %}
	</div>
{% else %}
	<p>Ei entryjä.</p><commit_msg>admin_kompomaatti: Fix typo<commit_after>{% extends "admin_kompomaatti/base.html" %}
{% load uni_form_tags %}

{% block title %}{{ block.super }} - Entryt{% endblock %}

{% block head %}
{{ block.super }}
{% endblock %}

{% block crumbs %}
{{ block.super }}
		&raquo; <a href="/manage/{{ selected_event_id }}/kompomaatti/entries/">Entryt</a>
		&raquo; Selaa
{% endblock %}

{% block jquery %}
{{ block.super }}
	$("#entry_table").tablesorter({widgets: ['zebra'], sortList: [[0,0],]}).tablesorterPager({container: $("#entry_pager")}); 
{% endblock %}

{% block content %}
{{ block.super }}
    <h2>Entryt</h2>
{% if entries %}
	<table id="entry_table" class="tablesorter">
		<thead>
			<tr>
				<th>Nimi</th>
				<th>Tekijä</th>
				<th>Käyttäjä</th>
				<th>Kompo</th>
				<th>Lataa</th>
				<th class="sorter-false"></th>
			</tr>
		</thead>
		<tbody>
{% for entry in entries %}
			<tr>
				<td>{{ entry.name }}</td>
				<td>{{ entry.creator }}</td>
				<td>{{ entry.user.email }}</td>
				<td>{{ entry.compo.name }}</td>
				<td><a href="{{ entry.entryfile.url }}">Lataa</a></td>
	            <td>
{% if perms.kompomaatti.change_entry %}
	            	<a href="/manage/{{ selected_event_id }}/kompomaatti/editentry/{{ entry.id }}/" class="edit_link">Muokkaa</a>
{% endif %}
{% if perms.kompomaatti.delete_entry %}
	            	<a href="/manage/{{ selected_event_id }}/kompomaatti/deleteentry/{{ entry.id }}/" class="delete_link">Poista</a>
{% endif %}
	            </td>
			</tr>
{% endfor %}
		</tbody>
	</table>
	<div id="entry_pager" class="pager">
		{% include "common/pagination.html" %}
	</div>
{% else %}
	<p>Ei entryjä.</p>
{'fraction_non_alphanumeric': 0.23632452366318377, 'fraction_numerical': 0.002458512599877074, 'mean_word_length': 3.4165535956580735, 'pattern_counts': {'":': 0, '<': 99, '<?xml version=': 0, '>': 99, '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': '4155806', 'n_tokens_mistral': 1471, 'n_tokens_neox': 1245, 'n_words': 219}