/usr/lib/python3/dist-packages/klaus/templates/blame_blob.html is in python3-klaus 1.2.1-3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 | {% extends 'base.html' %}
{% block title %}
{{ path }} - {{ super() }}
{% endblock %}
{% block content %}
{% include 'tree.inc.html' %}
<div class=blameview>
<h2>
{{ filename|force_unicode }}
<span>
@<a href="{{ url_for('commit', repo=repo.name, rev=rev) }}">{{ rev|shorten_sha1 }}</a>
</span>
</h2>
{% if not can_render %}
(Can't show blame: File is binary or too large)
{% else %}
<table>
<tbody>
<tr>
<td class="line-info">
<pre>
{%- for commit in line_commits -%}
{%- if commit == None %}
{%- else %}
<a href="{{ url_for('commit', repo=repo.name, rev=commit) }}">{{ commit | shorten_sha1 }}</a>
{%- endif -%}
{%- endfor -%}
</pre>
</td>
<td class="code">
{% autoescape false %}
{{ rendered_code }}
{% endautoescape %}
</td>
</tr>
</tbody>
</table>
{% endif %}
</div>
<script>
highlight_linenos({
linksSelector: '.highlighttable .linenos a',
getLineFromAnchor: function(anchor) { return anchor.nextSibling }
})
</script>
{% endblock %}
|