From 05444e8018763def07e034513ec8f232d26bedd4 Mon Sep 17 00:00:00 2001 From: rubenwardy Date: Mon, 26 Mar 2018 11:28:34 +0100 Subject: Add tags Fixes #4 --- app/views/packages.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'app/views') diff --git a/app/views/packages.py b/app/views/packages.py index 6f809f2..c9ad24f 100644 --- a/app/views/packages.py +++ b/app/views/packages.py @@ -29,7 +29,8 @@ def doPackageList(type): if shouldReturnJson(): return jsonify([package.getAsDictionary(app.config["BASE_URL"]) for package in query.all()]) else: - return render_template("packages/list.html", title=title, packages=query.all(), query=search) + tags = Tag.query.all() + return render_template("packages/list.html", title=title, packages=query.all(), query=search, tags=tags) @app.route("/packages/") -- cgit v1.2.3