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()
|
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/")
|
@bp.route("/user/tags/")
|
||||||
|
|||||||
@@ -1,11 +1,10 @@
|
|||||||
{% extends "base.html" %}
|
{% extends "todo/todo_base.html" %}
|
||||||
|
|
||||||
{% block title %}
|
{% block title %}
|
||||||
Tags
|
{{ _("All Package Tags") }}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
|
|
||||||
<table class="table">
|
<table class="table">
|
||||||
<tr>
|
<tr>
|
||||||
<th>Package</th>
|
<th>Package</th>
|
||||||
|
|||||||
@@ -23,6 +23,12 @@
|
|||||||
{{ _("All Outdated Packages") }}
|
{{ _("All Outdated Packages") }}
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</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">
|
<li class="nav-item">
|
||||||
<a class="nav-link {% if current_tab == "topics" %}active{% endif %}"
|
<a class="nav-link {% if current_tab == "topics" %}active{% endif %}"
|
||||||
href="{{ url_for('todo.topics') }}">
|
href="{{ url_for('todo.topics') }}">
|
||||||
|
|||||||
Reference in New Issue
Block a user