{% include "search/mediaitem_listhaystack.html" %}
{% else %}
{% ifequal type 'corpus' %}
- {% include "search/mediacorpus_listhaystack.html" %}
+ {% include "search/mediaresource_listhaystack.html" %}
{% else %}
{% ifequal type 'fonds' %}
- {% include "search/mediafonds_listhaystack.html" %}
+ {% include "search/mediaresource_listhaystack.html" %}
{% else %}
{% ifequal type 'collection' %}
{% include "search/mediacollection_listhaystack.html" %}
{% include "search/mediaitem_listhaystack.html" %}
{% else %}
{% ifequal type 'corpus' %}
- {% include "search/mediacorpus_listhaystack.html" %}
+ {% include "search/mediaresource_listhaystack.html" %}
{% else %}
{% ifequal type 'fonds' %}
- {% include "search/mediafonds_listhaystack.html" %}
+ {% include "search/mediaresource_listhaystack.html" %}
{% else %}
{% ifequal type 'collection' %}
{% include "search/mediacollection_listhaystack.html" %}
+++ /dev/null
-{% load telemeta_utils %}
-{% load i18n %}
-
-{% if page.object_list %}
-
-<table class="listing">
-<tr>
- {% if user.is_authenticated %}
- <th class="highlight"><input id="selectAll" type="checkbox"/> select all </th>
- <th>{% trans "title" %}</th>
- {% else %}
- <th class="highlight">{% trans "title" %}</th>
- {% endif %}
- <th>{% trans "Digitized" %}</th>
- <th>{% trans "Description" %}</th>
- <th>{% trans "Code" %}</th>
-</tr>
-{% if user.is_authenticated %}
- {% for result in page.object_list %}
- <tr {% if not forloop.counter0|divisibleby:"2" %}class="odd"{% endif %}>
- <td class="highlight"><input type="checkbox" class="check1" name="selected_items_list" value="{{ result.object.id }}"/></td>
- <td>
- <a href="{% url "telemeta-resource-detail" type result.object.public_id %}">{{ result.object.title }}</a>
- </td>
- <td>
- {% if result.object.has_mediafile %}
- <center><span class="glyphicon glyphicon-volume-up" style="font-size: 1.3em;"></span></center>
- {% endif %}
- </td>
-
- <td>{{ result.object.description }}</td>
- <td>
- {{ result.object.code }}
- </td>
- </tr>
- {% endfor %}
-{% else %}
- {% for result in page.object_list %}
- <tr {% if not forloop.counter0|divisibleby:"2" %}class="odd"{% endif %}>
- <td class="highlight"><input type="checkbox" class="check1" name="selected_items_list" value="{{ result.object.id }}"/></td>
- <td>
- <a href="{% url "telemeta-resource-detail" type result.object.public_id %}">{{ result.object.title }}</a>
- </td>
- <td>
- {% if result.object.has_mediafile %}
- <center><span class="glyphicon glyphicon-volume-up" style="font-size: 1.3em;"></span></center>
- {% endif %}
- </td>
-
- <td>{{ result.object.description }}</td>
- <td>
- {{ result.object.code }}
- </td>
- </tr>
- {% endfor %}
-{% endif %}
-</table>
-{% else %}
- <p>{% trans "No corpus" %}</p>
-{% endif %}
-
-
-
-
-
-
-
-
-
-
-
-
-
+++ /dev/null
-{% load telemeta_utils %}
-{% load i18n %}
-
-{% if page.object_list %}
-
-<table class="listing">
-<tr>
- {% if user.is_authenticated %}
- <th class="highlight"><input id="selectAll" type="checkbox"/> select all </th>
- <th>{% trans "title" %}</th>
- {% else %}
- <th class="highlight">{% trans "title" %}</th>
- {% endif %}
- <th>{% trans "Digitized" %}</th>
- <th>{% trans "Description" %}</th>
- <th>{% trans "Code" %}</th>
-</tr>
-{% if user.is_authenticated %}
- {% for result in page.object_list %}
- <tr {% if not forloop.counter0|divisibleby:"2" %}class="odd"{% endif %}>
- <td class="highlight"><input type="checkbox" class="check1" name="selected_items_list" value="{{ result.object.id }}"/></td>
- <td>
- <a href="{% url "telemeta-resource-detail" type result.object.public_id %}">{{ result.object.title }}</a>
- </td>
- <td>
- {% if result.object.has_mediafile %}
- <center><span class="glyphicon glyphicon-volume-up" style="font-size: 1.3em;"></span></center>
- {% endif %}
- </td>
-
- <td>{{ result.object.description }}</td>
- <td>
- {{ result.object.code }}
- </td>
- </tr>
- {% endfor %}
-{% else %}
- {% for result in page.object_list %}
- <tr {% if not forloop.counter0|divisibleby:"2" %}class="odd"{% endif %}>
- <td class="highlight"><input type="checkbox" class="check1" name="selected_items_list" value="{{ result.object.id }}"/></td>
- <td>
- <a href="{% url "telemeta-resource-detail" type result.object.public_id %}">{{ result.object.title }}</a>
- </td>
- <td>
- {% if result.object.has_mediafile %}
- <center><span class="glyphicon glyphicon-volume-up" style="font-size: 1.3em;"></span></center>
- {% endif %}
- </td>
-
- <td>{{ result.object.description }}</td>
- <td>
- {{ result.object.code }}
- </td>
- </tr>
- {% endfor %}
-{% endif %}
-</table>
-{% else %}
- <p>{% trans "No fonds" %}</p>
-{% endif %}
-
-
-
-
-
-
-
-
-
-
-
-
-
--- /dev/null
+{% load telemeta_utils %}
+{% load i18n %}
+
+{% if page.object_list %}
+
+<table class="listing">
+<tr>
+ {% if user.is_authenticated %}
+ <th class="highlight"><input id="selectAll" type="checkbox"/> select all </th>
+ <th>{% trans "title" %}</th>
+ {% else %}
+ <th class="highlight">{% trans "title" %}</th>
+ {% endif %}
+ <th>{% trans "Digitized" %}</th>
+ <th>{% trans "Description" %}</th>
+ <th>{% trans "Code" %}</th>
+</tr>
+{% if user.is_authenticated %}
+ {% for result in page.object_list %}
+ <tr {% if not forloop.counter0|divisibleby:"2" %}class="odd"{% endif %}>
+ <td class="highlight"><input type="checkbox" class="check1" name="selected_items_list" value="{{ result.object.id }}"/></td>
+ <td>
+ <a href="{% url "telemeta-resource-detail" type result.object.public_id %}">{{ result.object.title }}</a>
+ </td>
+ <td>
+ {% if result.object.has_mediafile %}
+ <center><span class="glyphicon glyphicon-volume-up" style="font-size: 1.3em;"></span></center>
+ {% endif %}
+ </td>
+
+ <td>{{ result.object.description }}</td>
+ <td>
+ {{ result.object.code }}
+ </td>
+ </tr>
+ {% endfor %}
+{% else %}
+ {% for result in page.object_list %}
+ <tr {% if not forloop.counter0|divisibleby:"2" %}class="odd"{% endif %}>
+ <td class="highlight"><input type="checkbox" class="check1" name="selected_items_list" value="{{ result.object.id }}"/></td>
+ <td>
+ <a href="{% url "telemeta-resource-detail" type result.object.public_id %}">{{ result.object.title }}</a>
+ </td>
+ <td>
+ {% if result.object.has_mediafile %}
+ <center><span class="glyphicon glyphicon-volume-up" style="font-size: 1.3em;"></span></center>
+ {% endif %}
+ </td>
+
+ <td>{{ result.object.description }}</td>
+ <td>
+ {{ result.object.code }}
+ </td>
+ </tr>
+ {% endfor %}
+{% endif %}
+</table>
+{% else %}
+ <p>{% trans "No " %}{{ type }} </p>
+{% endif %}
{% include "search/mediacollection_listhaystack.html" %}
{% else %}
{% ifequal type 'corpus' %}
- {% include "search/mediacorpus_listhaystack.html" %}
+ {% include "search/mediaresource_listhaystack.html" %}
{% else %}
{% ifequal type 'fonds' %}
- {% include "search/mediafonds_listhaystack.html" %}
- {% else %}
- {% ifequal type 'fonds' %}
- {% include "search/mediafonds_listhaystack.html" %}
- {%endifequal%}
+ {% include "search/mediaresource_listhaystack.html" %}
{%endifequal%}
{%endifequal%}
{%endifequal%}
{% include "search/mediacollection_listhaystack.html" %}
{% else %}
{% ifequal type 'corpus' %}
- {% include "search/mediacorpus_listhaystack.html" %}
+ {% include "search/mediaresource_listhaystack.html" %}
{% else %}
{% ifequal type 'fonds' %}
- {% include "search/mediafonds_listhaystack.html" %}
- {% else %}
- {% ifequal type 'fonds' %}
- {% include "search/mediafonds_listhaystack.html" %}
- {%endifequal%}
+ {% include "search/mediaresource_listhaystack.html" %}
{%endifequal%}
{%endifequal%}
{%endifequal%}