mirror of
https://github.com/minetest/contentdb.git
synced 2024-11-10 17:43:46 +01:00
37 lines
1.0 KiB
HTML
37 lines
1.0 KiB
HTML
{% extends "todo/todo_base.html" %}
|
|
|
|
{% block title %}
|
|
{{ _("All Outdated packages") }}
|
|
{% endblock %}
|
|
|
|
{% block content %}
|
|
<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) }}">
|
|
Minetest Mods only
|
|
</a>
|
|
{% else %}
|
|
<a class="btn btn-sm btn-secondary" href="{{ url_set_query(mtm=1) }}">
|
|
Minetest Mods only
|
|
</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') }}">
|
|
Sort by date
|
|
</a>
|
|
<a class="btn {% if sort_by == 'score' %}btn-primary active{% else %}btn-secondary{% endif %}"
|
|
href="{{ url_set_query(sort='score') }}">
|
|
Sort by score
|
|
</a>
|
|
</div>
|
|
</div>
|
|
<div class="clearfix"></div>
|
|
|
|
{% from "macros/todo.html" import render_outdated_packages %}
|
|
{{ render_outdated_packages(outdated_packages, current_user) }}
|
|
{% endblock %}
|