mirror of
https://github.com/minetest/contentdb.git
synced 2025-03-14 14:22:30 +01:00
Add All Package Tags to todo tabs
This commit is contained in:
@ -117,7 +117,7 @@ def tags():
|
||||
|
||||
tags = Tag.query.order_by(db.asc(Tag.title)).all()
|
||||
|
||||
return render_template("todo/tags.html", packages=query.all(), tags=tags)
|
||||
return render_template("todo/tags.html", current_tab="tags", packages=query.all(), tags=tags)
|
||||
|
||||
|
||||
@bp.route("/user/tags/")
|
||||
|
@ -1,11 +1,10 @@
|
||||
{% extends "base.html" %}
|
||||
{% extends "todo/todo_base.html" %}
|
||||
|
||||
{% block title %}
|
||||
Tags
|
||||
{{ _("All Package Tags") }}
|
||||
{% endblock %}
|
||||
|
||||
{% block content %}
|
||||
|
||||
<table class="table">
|
||||
<tr>
|
||||
<th>Package</th>
|
||||
|
@ -23,6 +23,12 @@
|
||||
{{ _("All Outdated Packages") }}
|
||||
</a>
|
||||
</li>
|
||||
<li class="nav-item">
|
||||
<a class="nav-link {% if current_tab == "tags" %}active{% endif %}"
|
||||
href="{{ url_for('todo.tags') }}">
|
||||
{{ _("All Package Tags") }}
|
||||
</a>
|
||||
</li>
|
||||
<li class="nav-item">
|
||||
<a class="nav-link {% if current_tab == "topics" %}active{% endif %}"
|
||||
href="{{ url_for('todo.topics') }}">
|
||||
|
Reference in New Issue
Block a user