2021-01-29 20:38:14 +01:00
|
|
|
{% extends "todo/todo_base.html" %}
|
|
|
|
|
|
|
|
{% block title %}
|
2021-01-29 23:35:41 +01:00
|
|
|
{{ _("All Outdated packages") }}
|
2021-01-29 20:38:14 +01:00
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
{% block content %}
|
2021-02-01 22:18:27 +01:00
|
|
|
<div class="btn-toolbar float-right">
|
|
|
|
<div class="btn-group btn-group-sm mr-2">
|
|
|
|
{% if is_mtm_only %}
|
|
|
|
<a class="btn btn-sm btn-primary active" href="{{ url_set_query(mtm=0) }}">
|
2022-01-14 19:25:28 +01:00
|
|
|
{{ _("Minetest-Mods org only") }}
|
2021-02-01 22:18:27 +01:00
|
|
|
</a>
|
|
|
|
{% else %}
|
|
|
|
<a class="btn btn-sm btn-secondary" href="{{ url_set_query(mtm=1) }}">
|
2022-01-14 19:25:28 +01:00
|
|
|
{{ _("Minetest-Mods org only") }}
|
2021-02-01 22:18:27 +01:00
|
|
|
</a>
|
|
|
|
{% endif %}
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="btn-group btn-group-sm">
|
|
|
|
<a class="btn {% if sort_by == 'date' %}btn-primary active{% else %}btn-secondary{% endif %}"
|
|
|
|
href="{{ url_set_query(sort='date') }}">
|
2022-01-14 19:25:28 +01:00
|
|
|
{{ _("Sort by date") }}
|
2021-02-01 22:18:27 +01:00
|
|
|
</a>
|
|
|
|
<a class="btn {% if sort_by == 'score' %}btn-primary active{% else %}btn-secondary{% endif %}"
|
|
|
|
href="{{ url_set_query(sort='score') }}">
|
2022-01-14 19:25:28 +01:00
|
|
|
{{ _("Sort by score") }}
|
2021-02-01 22:18:27 +01:00
|
|
|
</a>
|
|
|
|
</div>
|
2021-01-30 01:02:40 +01:00
|
|
|
</div>
|
|
|
|
<div class="clearfix"></div>
|
|
|
|
|
2021-01-29 20:38:14 +01:00
|
|
|
{% from "macros/todo.html" import render_outdated_packages %}
|
2021-01-30 01:50:50 +01:00
|
|
|
{{ render_outdated_packages(outdated_packages, current_user) }}
|
2021-01-29 20:38:14 +01:00
|
|
|
{% endblock %}
|