mirror of
https://github.com/minetest/contentdb.git
synced 2024-11-14 03:23:46 +01:00
39 lines
1.1 KiB
HTML
39 lines
1.1 KiB
HTML
{% extends "base.html" %}
|
|
|
|
{% block title %}
|
|
{{ _("Packages not supporting %(rel)s", rel=current_stable.name) }}
|
|
{% endblock %}
|
|
|
|
{% block content %}
|
|
<h1>{{ self.title() }}</h1>
|
|
<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 org only") }}
|
|
</a>
|
|
{% else %}
|
|
<a class="btn btn-sm btn-secondary" href="{{ url_set_query(mtm=1) }}">
|
|
{{ _("Minetest-Mods org 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_mtsupport_packages %}
|
|
{{ render_mtsupport_packages(packages, current_user) }}
|
|
{% endblock %}
|