From 6852a6e645f8e01f6a946aef2aa5b02380c4a83b Mon Sep 17 00:00:00 2001 From: Flancian <0@flancia.org> Date: Sat, 27 Feb 2021 20:50:45 +0100 Subject: [PATCH] Hot fix pulled nodes. --- app/agora.py | 2 +- app/templates/context.html | 2 +- app/templates/node.html | 3 ++- app/templates/search.html | 4 ++-- 4 files changed, 6 insertions(+), 5 deletions(-) diff --git a/app/agora.py b/app/agora.py index 7eaa77b58..5803901c3 100644 --- a/app/agora.py +++ b/app/agora.py @@ -185,7 +185,7 @@ def node(node,user_list=[]): search=search_subnodes, pulling_nodes=n.pulling_nodes(), pushing_nodes=n.pushing_nodes(), - query=n.wikilink.replace('-', '%20'), + q=n.wikilink.replace('-', '%20'), # disabled a bit superstitiously due to [[heisenbug]] after I added this everywhere :). # sorry for the fuzzy thinking but I'm short on time and want to get things done. # (...famous last words). diff --git a/app/templates/context.html b/app/templates/context.html index 4a7622f35..bd84c61af 100644 --- a/app/templates/context.html +++ b/app/templates/context.html @@ -1,5 +1,5 @@
-Context for [[do]] ↓
+ Context for [[{{node}}]] ↓
{% include "links.html" %} diff --git a/app/templates/node.html b/app/templates/node.html index 00ab6267e..c82e026fd 100644 --- a/app/templates/node.html +++ b/app/templates/node.html @@ -54,10 +54,11 @@ Existing permutations are optimistically pulled below.
{% endfor %}
{% endif %} + {% for node in pull_nodes %}
-Pulled node [[{{node.uri}}]]: +Pulled node [[{{node.uri}}]] {% if node.subnodes %} {% for subnode in node.subnodes %} diff --git a/app/templates/search.html b/app/templates/search.html index 9e88cfb15..290aa9716 100644 --- a/app/templates/search.html +++ b/app/templates/search.html @@ -17,7 +17,7 @@