aboutsummaryrefslogtreecommitdiff
path: root/app/templates/packages/list.html
diff options
context:
space:
mode:
Diffstat (limited to 'app/templates/packages/list.html')
-rw-r--r--app/templates/packages/list.html15
1 files changed, 15 insertions, 0 deletions
diff --git a/app/templates/packages/list.html b/app/templates/packages/list.html
index 4aea5a0..057fe22 100644
--- a/app/templates/packages/list.html
+++ b/app/templates/packages/list.html
@@ -5,6 +5,21 @@
{% endblock %}
{% block content %}
+ {% if authors %}
+ <p class="alert alert-primary">
+ Did you mean to search for packages by
+
+ {% for author in authors %}
+ <a href="{{ url_for('packages.list_all', type=type, author=author[0], q=author[1]) }}">{{ author[0] }}</a>
+ {% if not loop.last %}
+ ,
+ {% endif %}
+ {% endfor %}
+ ?
+ </p>
+ {% endif %}
+
+
{% from "macros/packagegridtile.html" import render_pkggrid %}
{{ render_pkggrid(packages) }}