{% extends "ldt/ldt_base.html" %}
{% load i18n %}

{% block css_import %}
    {{ block.super }}
    <link rel="stylesheet" href="{{LDT_MEDIA_PREFIX}}css/workspace.css" />
{% endblock %}

{% block content %}

{% if msg %}
{{ msg }}
{% else %}

	{% trans "Results for " %} <b> {{ search }}</b> :
	
	{% autoescape off %}
	<ul>
	{% for res in results %}
		<li>
			<a href="{% url ldt.ldt_utils.views.display_highlighted_seg res.project_id res.iri_id res.ensemble_id res.decoupage_id res.element_id%}">{{ res.segment_title }}</a><br />
			{{ res.context }}<br />
		</li>
	{% endfor %}
	</ul>
	{% endautoescape %}

{% endif %}

{% endblock %}