2021-01-29 20:38:14 +01:00
|
|
|
{% extends "base.html" %}
|
|
|
|
|
|
|
|
{% block container %}
|
2021-08-16 19:57:05 +02:00
|
|
|
{% if current_user.rank.atLeast(current_user.rank.APPROVER) %}
|
2021-01-29 20:38:14 +01:00
|
|
|
<nav class="pt-4 tabs-container">
|
|
|
|
<div class="container">
|
|
|
|
<ul class="nav nav-tabs">
|
|
|
|
<li class="nav-item">
|
2022-08-09 14:48:49 +02:00
|
|
|
<a class="nav-link {% if current_tab == 'user' %}active{% endif %}"
|
2021-01-29 20:38:14 +01:00
|
|
|
href="{{ url_for('todo.view_user', username=current_user.username) }}">
|
2022-08-09 14:48:49 +02:00
|
|
|
{{ _("Your to do list") }}
|
2021-01-29 20:38:14 +01:00
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="nav-item">
|
2022-08-09 14:48:49 +02:00
|
|
|
<a class="nav-link {% if current_tab == 'editor' %}active{% endif %}"
|
2021-01-29 20:38:14 +01:00
|
|
|
href="{{ url_for('todo.view_editor') }}">
|
|
|
|
{{ _("Editor Work Queue") }}
|
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="nav-item">
|
2022-08-09 14:48:49 +02:00
|
|
|
<a class="nav-link {% if current_tab == 'outdated' %}active{% endif %}"
|
2021-01-29 20:38:14 +01:00
|
|
|
href="{{ url_for('todo.outdated') }}">
|
2022-08-09 14:48:49 +02:00
|
|
|
{{ _("Outdated Packages") }}
|
2021-01-29 20:38:14 +01:00
|
|
|
</a>
|
|
|
|
</li>
|
2021-01-30 16:53:13 +01:00
|
|
|
<li class="nav-item">
|
2022-08-09 14:48:49 +02:00
|
|
|
<a class="nav-link {% if current_tab == 'tags' %}active{% endif %}"
|
2021-01-30 16:53:13 +01:00
|
|
|
href="{{ url_for('todo.tags') }}">
|
2021-01-30 17:03:09 +01:00
|
|
|
{{ _("Package Tags") }}
|
2021-01-30 16:53:13 +01:00
|
|
|
</a>
|
|
|
|
</li>
|
2021-01-29 20:38:14 +01:00
|
|
|
<li class="nav-item">
|
2022-08-09 14:48:49 +02:00
|
|
|
<a class="nav-link {% if current_tab == 'screenshots' %}active{% endif %}"
|
|
|
|
href="{{ url_for('todo.screenshots') }}">
|
|
|
|
{{ _("Missing Screenshots") }}
|
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<li class="nav-item">
|
|
|
|
<a class="nav-link {% if current_tab == 'topics' %}active{% endif %}"
|
2021-01-29 20:38:14 +01:00
|
|
|
href="{{ url_for('todo.topics') }}">
|
2021-01-29 21:01:48 +01:00
|
|
|
{{ _("Forum Topics") }}
|
2021-01-29 20:38:14 +01:00
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
</nav>
|
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
<main class="container mt-5">
|
2021-08-16 19:57:05 +02:00
|
|
|
{% if not current_user.rank.atLeast(current_user.rank.APPROVER) %}
|
2021-01-29 20:38:14 +01:00
|
|
|
<h1 class="mb-5">{{ self.title() }}</h1>
|
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
{{ self.content() }}
|
|
|
|
</main>
|
|
|
|
{% endblock %}
|