{% load i18n %}
{% load front_tags %}
                            <table class="table table-striped">
                                <thead>
                                    <tr>
                                        <th>Aperçu</th>
                                        <th>Titre</th>
                                        <th>Projets associés</th>
                                        <th>Date de modification</th>
                                        <th>Actions</th>
                                    </tr>
                                </thead>
                                <tbody class="liste">
                                  {% for res in content_results %}
                                    <tr id="row-list-ressources-video-id1">
                                        <td><img src="img/60x60.gif" alt=""></td>
                                        <td>{{ res.content.title }}</td>
                                        <td>
                                            <ul>
                                              {% for p in res.projects %}
                                                <li><a href="">{{ p.title }}</a></li>
                                              {% endfor %}
                                            </ul>
                                        </td>
                                        <td>{{ res.content.update_date|date:"Y/m/d" }}</td>
                                        <td>
                                            <a data-type-media="video" data-title="Modifier une vidéo" class="btn open-modal" href="modal-video.html"><i class="icon-pencil"></i></a>
                                            <a class="btn btn-delete" data-title="Titre du média" href="#row-list-ressources-video-id1">
                                            <i class="icon-remove"></i>
                                        </a>
                                        </td>
                                    </tr>
                                  {% endfor %}
                                </tbody>
                            </table>
                            <div class="pagination">
                                <ul>
			                    {% if content_results.has_previous %}
			                        <li><a href="{% url composer_content_page branding=branding %}?page={{ content_results.previous_page_number }}" class="content_pagination">{% trans "Previous" %}</a></li>
			                    {% else %}
			                       <li class="disabled"><a>{% trans "Previous" %}</a></li>
			                    {% endif %}
			                    {% if content_results.paginator.num_pages > 1 %}
			                     {% for i in content_results.paginator.num_pages|get_range %}
			                      {% if i|add:'1' == content_results.number %}
			                        <li class="active"><a href="#">{{i|add:'1'}}</a></li>
			                      {% else %}
			                        <li><a href="{% url composer_content_page branding=branding %}?page={{i|add:'1'}}" class="content_pagination">{{i|add:'1'}}</a></li>
			                      {% endif %}
			                     {% endfor %}
			                    {% endif %}
			                    {% if content_results.has_next %}
			                        <li><a href="{% url composer_content_page branding=branding %}?page={{ content_results.next_page_number }}" class="content_pagination">{% trans "Next" %}</a></li>
			                    {% else %}
			                       <li class="disabled"><a>{% trans "Next" %}</a></li>
			                    {% endif %}
			                    {% if content_results.paginator.num_pages > 1 %}
			                        <li><a href="{% url composer_content_page branding=branding %}?page=x" class="content_pagination">({% trans "All" %})</a></li>
			                    {% endif %}
                                </ul>
                            </div>