{% extends "base.html" %}

{% block title %}
{{ entry.title }}
{% endblock %}

{% block content %}
	{% if entry.url %}
		<a class="float-right btn btn-primary" href="{{ entry.url }}">View</a>
	{% endif %}

	<h1>{{ entry.title }}</h1>

	{% if entry.causer %}
		<p class="text-muted mb-4">
			{{ _("Caused by %(author)s.", author=entry.causer.username) }}
		</p>
	{%  else %}
		<p class="text-muted mb-4">
			{{ _("Caused by a deleted user.") }}
		</p>
	{%  endif %}

	<pre><code>{{ entry.description }}</code></pre>

{% endblock %}
