Files
mintee/assets/templates/repo/tickets.html

64 lines
1.7 KiB
HTML

{% extends "base.html" %}
{#
Copyright (c) 2025 Sasha Koshka <sashakoshka@tebibyte.media>
SPDX-License-Identifier: AGPL-3.0-or-later
This file is part of Mintee.
Mintee is free software: you can redistribute it and/or modify it under the
terms of the GNU Affero General Public License as published by the Free
Software Foundation, either version 3 of the License, or (at your option)
any later version.
Mintee is distributed in the hope that it will be useful, but WITHOUT ANY
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for
more details.
You should have received a copy of the GNU Affero General Public License
along with Mintee. If not, see https://www.gnu.org/licenses/.
#}
{% block page %}tickets{% endblock page %}
{% block content %}
<div id=contentWrap>
<aside>
<div class=sidebarLabel>
tickets
<div class=tabList style="display: inline-flex">
<span>open</span>
<a href="/">closed</a>
</div>
</div>
<table class=files border=1>
<tbody>
{% block entries_list %}
{% for entry in entries %}
<tr>
<td><a class={{ entry.class }} href="/">{{ entry.path }}</a></td>
<td><a class=commit href="./commit/{{ entry.last_commit }}">
{{ entry.last_commit_message }}
</a></td>
<td><time datetime="{{ entry.last_commit_time }}">
{{ entry.last_commit_time | date(format="%Y-%m-%d %H:%M")}}
</time></td>
</tr>
{% endfor %}
{% endblock entries %}
</tbody>
</table>
</aside>
{% block readme %}
<main>
<article class=preview>
<h1>Ticket title</h1>
{{ readme_content }}
</article>
</main>
{% endblock readme %}
</div>
{% endblock content %}