Source

sumatra-wiki / sumatra_wiki / templates / show_file.html

Full commit
{% extends "base.html" %}

{% block title %}{{project_name}}: {{label}}: {{path}}{% endblock %}

{% block header %}
<h1>{{project_name}}: <i>{{label}}</i></h1>
{% endblock %}

{% block content %}
<p><a href=".">Return to record</a></p>

<h2>{{path}}</h2>

<div class="plaintext">
<pre>
{{content|escape}}
</pre>
</div>

{% if truncated %}
<p>File contents truncated. <a href="datafile?path={{path}}&truncate=false">Show entire contents</a></p>
{% endif %}

{{errmsg}}

{% endblock %}