]> git.0d.be Git - earwig.git/commitdiff
manager: add original publication date to main listing
authorFrédéric Péters <fpeters@0d.be>
Sun, 2 Sep 2018 11:21:14 +0000 (13:21 +0200)
committerFrédéric Péters <fpeters@0d.be>
Sun, 2 Sep 2018 11:21:14 +0000 (13:21 +0200)
earwig/manager/templates/earwig/manager_home.html

index fcf63af284115190e01c9074281b03eb047952ea..01c0607ba1644fcddfcbfa89945eefc24949268f 100644 (file)
@@ -29,7 +29,8 @@
   <tr>
     <th>{% trans "Channel" %}</th>
     <th>{% trans "Title / Description" %}</th>
-    <th>{% trans "Date" %}</th>
+    <th>{% trans "Original Publication Date" %}</th>
+    <th>{% trans "Addition Date" %}</th>
     <th>{% trans "Actions" %}</th>
   </tr>
 </thead>
@@ -40,6 +41,7 @@
    <td><a class="title" href="{% url 'earwig-sound-detail' pk=sound.pk %}">{{ sound.title }}</a>
        {% if sound.description %}<span class="description">{{ sound.description|striptags|truncatewords:40|safe }}</span>{% endif %}
    </td>
+   <td>{{ sound.original_publication_date|date:"DATE_FORMAT" }}</td>
    <td>{{ sound.creation_timestamp }}</td>
    <td>
      {% if sound.can_publish %}
@@ -54,7 +56,7 @@
  </tr>
  {% empty %}
  <tr>
-   <td colspan="4">{% trans "No search results" %}</td>
+   <td colspan="5">{% trans "No search results" %}</td>
  </tr>
  {% endfor %}
 </tbody>