2019-05-05 12:47:04 +02:00
|
|
|
{% extends "layout.html" %}
|
2019-04-16 17:03:28 +02:00
|
|
|
{% block content %}
|
|
|
|
|
2019-05-29 11:54:46 +02:00
|
|
|
<div class="description">
|
|
|
|
|
2019-05-27 17:32:05 +02:00
|
|
|
<div class="diverge_all">
|
2019-05-28 15:45:45 +02:00
|
|
|
<p>Sentences that have <i>{{ searchterm }}</i> in common : </p><br>
|
2019-04-16 18:53:21 +02:00
|
|
|
{% for word in wordlist_dict %}
|
2019-04-17 14:44:14 +02:00
|
|
|
{% if searchterm == word %}
|
|
|
|
{% set length_d = wordlist_dict[word]|length %}
|
2019-05-27 17:32:05 +02:00
|
|
|
<div class="diverge_list">
|
2019-04-17 14:44:14 +02:00
|
|
|
{% for item in wordlist_dict[word] %}
|
|
|
|
{% set address = "/description?id=" + item['id'] %}
|
2019-05-28 15:45:45 +02:00
|
|
|
<a href={{address}} class="diverge">
|
2019-04-17 14:44:14 +02:00
|
|
|
{{ item['sentence'] }}
|
2019-05-28 15:45:45 +02:00
|
|
|
</a><br>
|
|
|
|
|
|
|
|
<span class="folder-corner">└ from {{ item['id'] }} — {{index_dict[ item['id'] ]}}</span>
|
|
|
|
|
|
|
|
<br><br><br>
|
2019-04-17 14:44:14 +02:00
|
|
|
{% endfor %}
|
2019-05-27 17:32:05 +02:00
|
|
|
</div>
|
2019-04-16 18:53:21 +02:00
|
|
|
{% endif %}
|
|
|
|
{% endfor %}
|
2019-05-29 11:54:46 +02:00
|
|
|
</div>
|
|
|
|
|
2019-05-27 17:32:05 +02:00
|
|
|
</div>
|
2019-04-16 17:03:28 +02:00
|
|
|
{% endblock %}
|