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-01-30 01:02:40 +01:00
|
|
|
<div class="btn-group btn-group-sm float-right">
|
|
|
|
<a class="btn btn-secondary {% if sort_by != 'score' %}active{% endif %}"
|
|
|
|
href="{{ url_set_query(sort='date') }}">
|
|
|
|
Sort by date
|
|
|
|
</a>
|
|
|
|
<a class="btn btn-secondary {% if sort_by == 'score' %}active{% endif %}"
|
|
|
|
href="{{ url_set_query(sort='score') }}">
|
|
|
|
Sort by score
|
|
|
|
</a>
|
|
|
|
</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 %}
|