| 66fd9d6b Andy McCall ↶ |
1 |
{% extends "base.html" %} |
| 2 |
{% import "repo_tabs.html" as m %} |
| 3 |
{% block title %}History of {{ title }} · wiki · {{ repo.owner }}/{{ repo.name }}{% endblock %} |
| 4 |
{% block tabs %}{% call m::tabs(repo, "wiki") %}{% endblock %} |
| 5 |
{% block content %} |
| 6 |
<div class="head"><h1>History of {{ title }}</h1><p class="small"><a class="go" href="{{ repo.url }}/wiki/{{ slug }}">Back to the page</a></p></div> |
| 7 |
{% if entries.is_empty() %}<p class="empty">No changes.</p>{% else %} |
| 8 |
<div class="table"><table> |
| 9 |
<tr><th>Change</th><th>Message</th><th>By</th><th>When</th></tr> |
| 10 |
{% for c in entries %}<tr><td><code>{{ c.short }}</code></td><td>{{ c.title }}</td><td>{% if let Some(a) = c.author.account %}<a href="/{{ a }}">{{ c.author.name }}</a>{% else %}{{ c.author.name }}{% endif %}{% if let Some(v) = c.via %} <span class="mute">via {{ v.name }}</span>{% endif %}</td><td><time title="{{ c.when_ms|when_i }}">{{ c.when_ms|ago_i }}</time></td></tr>{% endfor %} |
| 11 |
</table></div> |
| 12 |
{% endif %} |
| 13 |
{% endblock %} |