/usr/lib/python2.7/dist-packages/klaus/templates/repo_list.html is in python-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 | {% extends 'skeleton.html' %}
{% block title %}Repository list{% endblock %}
{% block content %}
<h2>
Repositories
<span>
(<a href="?by-last-update=yep">order by last update</a>)
</span>
</h2>
<ul class=repolist>
{% for repo in repos %}
{% set last_updated_at = repo.get_last_updated_at() %}
{% set description = repo.get_description() %}
<li>
<a
{% if last_updated_at %}
href="{{ url_for('index', repo=repo.name) }}"
{% endif %}
>
<div class=name>{{ repo.name }}</div>
{% if description %}
<div class=description>{{ description }}</div>
{% endif %}
<div class=last-updated>
{% if last_updated_at is not none %}
last updated {{ last_updated_at|timesince }}
{% else %}
no commits yet
{% endif %}
</div>
</a>
</li>
{% endfor %}
</ul>
{% endblock %}
|