headline/view/templates/article_detail.html

32 lines
647 B
HTML
Raw Normal View History

2023-08-16 23:01:45 +02:00
{% extends "base.html" %}
{% block body %}
2023-08-17 17:03:18 +02:00
<div class="container article-detail">
<h1>
Diffs for the article at
<a href="{{ article_url }}">{{ article_url|truncate(50) }}</a>
</h1>
2023-08-17 11:03:34 +02:00
<div class="card">
2023-08-17 17:03:18 +02:00
<table class="article-detail-diffs">
2023-08-17 11:03:34 +02:00
{% for diff in diffs %}
<tr>
<th>{{ diff.diff_time }}</th>
2023-08-17 16:54:52 +02:00
<td>
<table>
<tr>
<th>Before</th>
<td class="diff-before">{{ diff.diff_html|safe }}</td>
</tr>
<tr>
<th>After</th>
<td class="diff-after">{{ diff.diff_html|safe }}</td>
</tr>
</table>
</td>
2023-08-17 11:03:34 +02:00
</tr>
{% endfor %}
</table>
</div>
2023-08-16 23:01:45 +02:00
</div>
{% endblock body %}