diff --git a/app/static/css/screen-dark.css b/app/static/css/screen-dark.css index ec3f98a..c010943 100644 --- a/app/static/css/screen-dark.css +++ b/app/static/css/screen-dark.css @@ -80,19 +80,22 @@ nav { font-family: sans-serif} .subnode-header { font-style: italic; margin-bottom: 1em; - display: flex; width: 100%; - gap: 5px; +} + +.subnode-footer { + font-style: italic; + width: 100%; } .subnode-id { text-align: left; - align: left; + display: block; } .subnode-links { text-align: left; - align: left; + display: block; } .links { diff --git a/app/templates/node_rendered.html b/app/templates/node_rendered.html index 4c04766..8031996 100644 --- a/app/templates/node_rendered.html +++ b/app/templates/node_rendered.html @@ -35,8 +35,7 @@ Try listing all nodes or perhaps search {% for subnode in node.subnodes %} - Subnode [[{{node.uri}}@{{subnode.user}}]] - (by @{{subnode.user}}) + Subnode [[{{node.uri}}@{{subnode.user}}]] by @{{subnode.user}} {{ subnode.render()|linkify|safe }} @@ -50,7 +49,9 @@ Try listing all nodes or perhaps search {% for subnode in node.subnodes %} - Subnode {{subnode.uri}} by @{{subnode.user}} + + Subnode [[{{node.uri}}@{{subnode.user}}]] by @{{subnode.user}} + {{ subnode.render()|linkify|safe }} {% endfor %} diff --git a/app/templates/subnode_rendered.html b/app/templates/subnode_rendered.html index 567b600..0ec62a4 100644 --- a/app/templates/subnode_rendered.html +++ b/app/templates/subnode_rendered.html @@ -17,11 +17,11 @@ {% extends "base.html" %} {% block content %} -{% if not subnode and not node %} - -No subnodes found matching '{{subnode}}'. +{% if not subnode and not node.subnodes %} + +No subnodes matching your query. -Try listing nodes or perhaps search. +Try going up to node [[{{node.uri}}]] or perhaps search. {% endif %} @@ -30,8 +30,8 @@ Try listing nodes or perhaps search. {% for subnode in node.subnodes %} - Subnode [[{{node.uri}}@{{subnode.user}}]] - (user) (up to node) (source) + Subnode [[{{node.uri}}@{{subnode.user}}]] + by @{{subnode.user}} | up to [[{{subnode.wikilink}}]] | source {{ subnode.render()|linkify|safe }}