diff --git a/website/web/__init__.py b/website/web/__init__.py index 23b59418..fd998681 100644 --- a/website/web/__init__.py +++ b/website/web/__init__.py @@ -173,6 +173,7 @@ def hostnode_popup(tree_uuid: str, node_uuid: str): 'video': "/static/video.png", 'livestream': "/static/video.png", 'response_cookie': "/static/cookie_received.png", + # redirect has to be last 'redirect': "/static/redirect.png", 'redirect_to_nothing': "/static/cookie_in_url.png" } diff --git a/website/web/templates/macros.html b/website/web/templates/macros.html index cd9f32ed..849f6a0f 100644 --- a/website/web/templates/macros.html +++ b/website/web/templates/macros.html @@ -104,6 +104,11 @@ {{ key }} + {% elif key == "redirect" %} + + {{ key }} + + Redirect to: {{ shorten_string(urlnode.redirect_url, 50) }} {% else %} {{ key }} {%endif%}