mirror of
https://git.nolog.cz/NoLog.cz/headline.git
synced 2025-01-31 11:53:35 +01:00
31 lines
711 B
HTML
31 lines
711 B
HTML
{% extends "base.html" %}
|
|
|
|
{% block body %}
|
|
<div class="container article-detail">
|
|
<h1>
|
|
Diffs for the article at
|
|
<a href="{{ article_url }}">{{ article_url|truncate(50) }}</a>
|
|
</h1>
|
|
<div class="card">
|
|
<table class="article-detail-diffs">
|
|
{% for diff in diffs %}
|
|
<tr>
|
|
<th>{{ diff.diff_time }}</th>
|
|
<td>
|
|
<table>
|
|
<tr>
|
|
<th class="text-caption table-head">Before</th>
|
|
<td class="diff-before">{{ diff.diff_html|safe }}</td>
|
|
</tr>
|
|
<tr>
|
|
<th class="text-caption table-head">After</th>
|
|
<td class="diff-after">{{ diff.diff_html|safe }}</td>
|
|
</tr>
|
|
</table>
|
|
</td>
|
|
</tr>
|
|
{% endfor %}
|
|
</table>
|
|
</div>
|
|
</div>
|
|
{% endblock body %}
|