Add ability to filter by no tags on package tags page
This commit is contained in:
@@ -18,13 +18,22 @@
|
||||
</form>
|
||||
</div>
|
||||
<div class="col-md-6 text-right">
|
||||
{% if only_no_tags %}
|
||||
<a class="btn btn-primary" href="{{ url_set_query(no_tags=0) }}">
|
||||
{{ _("Missing tags only") }}
|
||||
</a>
|
||||
{% else %}
|
||||
<a class="btn btn-secondary" href="{{ url_set_query(no_tags=1) }}">
|
||||
{{ _("Missing tags only") }}
|
||||
</a>
|
||||
{% endif %}
|
||||
{% if check_global_perm(current_user, "EDIT_TAGS") %}
|
||||
<a class="btn btn-secondary" href="{{ url_for('admin.tag_list') }}">{{ _("Edit Tags") }}</a>
|
||||
<a class="btn btn-secondary ml-2" href="{{ url_for('admin.tag_list') }}">{{ _("Edit Tags") }}</a>
|
||||
{% endif %}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<table class="table mt-t">
|
||||
<table class="table mt-5">
|
||||
<tr>
|
||||
<th>Package</th>
|
||||
<th></th>
|
||||
|
||||
Reference in New Issue
Block a user