blob: 897ee4a647f51af80d28532c5d6b817208793fa8 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
{% load humanize %}
<tr>
<td>
{% for urlpath in article.urlpath_set.all %}
<a href="{% url 'wiki:get' path=urlpath.path %}">
{{ article.current_revision.title }}
<br />
<small class="has-text-grey">Slug: /{{ urlpath.path }}</small>
</a>
{% empty %}
<a href="{% url 'wiki:get' article_id=article.id %}">
{{ article.current_revision.title }}
</a>
{% endfor %}
{% if article.current_revision.deleted %}
<span class="icon">
<i class="fas fa-trash"></i>
</span>
{% endif %}
{% if article.current_revision.locked %}
<span class="icon">
<i class="fas fa-lock"></i>
</span>
{% endif %}
</td>
<td class="has-text-right">
{{ article.current_revision.created|naturaltime }}
</td>
</tr>
|