From 1751ec338dc6324ea580fdcc1c37bb9ef72cb2f0 Mon Sep 17 00:00:00 2001 From: Xevion Date: Wed, 25 Dec 2019 17:29:35 -0600 Subject: [PATCH] hidden history prep for jquery moment.js date script still not familiar with javascript and why my script isn't working, needs more testing in a codepen or replit --- app/templates/hidden_history.html | 21 +++++++++++++++++---- 1 file changed, 17 insertions(+), 4 deletions(-) diff --git a/app/templates/hidden_history.html b/app/templates/hidden_history.html index cd3f727..f9608f3 100644 --- a/app/templates/hidden_history.html +++ b/app/templates/hidden_history.html @@ -1,4 +1,16 @@ {% extends 'base.html' %} +{% block head %} +{{ super() }} + + +{% endblock head %} {% block body %}
@@ -10,8 +22,9 @@ {% set result_count = current_user.search_history.all() | length %}
Search History
-
{{ result_count }} result{% if result_count > 1 %}s{% endif %} found
-
+
{{ result_count }} + result{% if result_count > 1 %}s{% endif %} found
+
@@ -27,9 +40,9 @@ {% for post in current_user.search_history | reverse %} - + - + {% endfor %}
{{ post.id }}{{ post.exact_url }}{{ post.exact_url }} {{ post.query_args }}{{ post.timestamp }} UTC{{ post.timestamp }} UTC