mirror of
https://github.com/flancian/garden.git
synced 2026-08-11 09:11:45 +00:00
Hot fix pulled nodes.
This commit is contained in:
+1
-1
@@ -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).
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<div class="context">
|
||||
<span class="context-header">Context for [[do]] ↓</span><br />
|
||||
<span class="context-header">Context for [[{{node}}]] ↓</span><br />
|
||||
|
||||
{% include "links.html" %}
|
||||
|
||||
|
||||
@@ -54,10 +54,11 @@ Existing permutations are optimistically pulled below.<br/>
|
||||
{% endfor %}
|
||||
</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
|
||||
{% for node in pull_nodes %}
|
||||
<div class="node">
|
||||
<span class="node-header">Pulled node <a href="/node/{{node.uri}}">[[{{node.uri}}]]</a></span>:
|
||||
<span class="node-header">Pulled node <a href="/node/{{node.uri}}">[[{{node.uri}}]]</a> ↓</span>
|
||||
|
||||
{% if node.subnodes %}
|
||||
{% for subnode in node.subnodes %}
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
<div class="search">
|
||||
<div class="search-flex">
|
||||
<div class="search-internet">
|
||||
<span class="search-internet-header">Search for '{{query}}' around the web</span> <br />
|
||||
<span class="search-internet-header">Search for '{{q}}' around the web</span> <br />
|
||||
↪ <a href="https://www.google.com/search?q={{q}}">Google</a> <br />
|
||||
↪ <a href="https://www.duckduckgo.com/{{q}}">DuckDuckGo</a> <br />
|
||||
↪ <a href="https://en.wikipedia.org/wiki/Special:Search/{{q}}">Wikipedia</a> <br />
|
||||
@@ -30,7 +30,7 @@
|
||||
</div>
|
||||
|
||||
<div class="search-agora">
|
||||
<span class="search-agora-header">Search for '{{query}}' in the Agora</span> <br />
|
||||
<span class="search-agora-header">Search for '{{q}}' in the Agora</span> <br />
|
||||
{% if search %}
|
||||
{% for subnode in search %}
|
||||
<a href="/@{{subnode.user}}/{{subnode.wikilink}}">@{{subnode.user}}/{{subnode.wikilink}}</a><br />
|
||||
|
||||
Reference in New Issue
Block a user