{% load i18n %}
<div class="projectscontentsheader projectcontentsheadertitle span-12 last" id="contentsheader">
{% trans "name" %}
</div>
<div class="span-12 last projectscontentstablediv" id="contentstablediv">
	<table class="projectscontentstable">
	    <tbody class="projectscontentsbody">
	{% for content in contents %}
		<tr class="imageline {% cycle 'projectscontentsoddline' 'projectscontentsevenline'%}">
		    <td class="cellimg"><div class="cellimgdiv"><img src="{{LDT_MEDIA_PREFIX}}/img/page_add.png" title="{% trans 'create project' %}" alt="{% trans 'create project' %}" href="{% url ldt.ldt_utils.views.create_project content.iri_id %}" class="ldt_link_create_project"/></div></td>
		    <td class="cellimg"><div class="cellimgdiv"><img  alt="{% trans 'preview media'%}" title="{% trans 'preview media'%}" src="{{LDT_MEDIA_PREFIX}}/img/control_play.png" href="{% url ldt.ldt_utils.views.index content.iri_id %}" class="ldt_link_open_ldt"/></div></td>
		    <td class="contenttitle"><a class="contenttitlelink qtiplink" {% if content.change %} href="{% url ldt.ldt_utils.views.write_content iri_id=content.iri_id %}" data-title="{{ content.title}}"  data-desc="{{ content.description }}" {% else %} data-title="{% trans "You can't edit this content" %}" data-desc=""{% endif %}>{{ content.title|default:"_" }}</a></td>
		</tr>
	{% endfor %}
		</tbody>
	</table>
</div>

