theme_detail_links.html 639 Bytes
Newer Older
Nicolas Joyard's avatar
Nicolas Joyard committed
1
2
3
4
5
6
7
{% extends 'memopol_themes/theme_detail.html' %}

{% load i18n %}
{% load memopol_tags %}

{% block theme_content %}

Nicolas Joyard's avatar
Nicolas Joyard committed
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
  {% if not links %}

    <p class="no-links empty text-center">
      {% trans "No link has been recorded for this theme yet." %}
    </p>

  {% else %}

    <table class="table table-responsive">
      {% for link in links %}
        <tr class="link">
          <td>
            <a class="external" href="{{ link.link }}" target="_blank">
              {{ link.title }}
            </a>
          </td>
          <td>{{ link.datetime }}</td>
        </tr>
      {% endfor %}
    </table>

  {% endif %}
Nicolas Joyard's avatar
Nicolas Joyard committed
30
31

{% endblock %}