From f7a11d9052180cec9bee4aba29c3f04c312816af Mon Sep 17 00:00:00 2001 From: Samuel Gaist <samuel.gaist@idiap.ch> Date: Thu, 24 Sep 2020 11:59:42 +0200 Subject: [PATCH] [templates][actstream] Remove URL_PREFIX It's redundant as the URLs generated shall handle that --- beat/web/templates/actstream/action.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/beat/web/templates/actstream/action.html b/beat/web/templates/actstream/action.html index c79b3420a..9195f9dcb 100644 --- a/beat/web/templates/actstream/action.html +++ b/beat/web/templates/actstream/action.html @@ -32,9 +32,9 @@ </td> <td style="border-top:0;padding:0;padding-left:0.5em"> {% if action.actor.get_absolute_url %} - <a href="{{ URL_PREFIX }}{{ action.actor.get_absolute_url }}"> + <a href="{{ action.actor.get_absolute_url }}"> {% else %} - <a href="{{ URL_PREFIX }}{{ action.actor_url }}"> + <a href="{{ action.actor_url }}"> {% endif %} {{ action.actor.first_name }} ({{ action.actor }}) </a> -- GitLab