From cc789866281984e98dc0c08d1b085f19e4eff4c1 Mon Sep 17 00:00:00 2001 From: Samuel Gaist <samuel.gaist@idiap.ch> Date: Thu, 7 May 2020 11:18:13 +0200 Subject: [PATCH] [algorithms][templates][edition] Fix fork link generation --- beat/web/algorithms/templates/algorithms/edition.html | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/beat/web/algorithms/templates/algorithms/edition.html b/beat/web/algorithms/templates/algorithms/edition.html index 73667155e..940b638ac 100644 --- a/beat/web/algorithms/templates/algorithms/edition.html +++ b/beat/web/algorithms/templates/algorithms/edition.html @@ -710,10 +710,7 @@ jQuery(document).ready(function() { }); {% if original_author %} - var url = '{% url 'api_algorithms:object' original_author algorithm_name %}' - {% if algorithm_version %} - url += '{{ algorithm_version }}/'; - {% endif %} + var url = '{% url 'api_algorithms:object' original_author algorithm_name algorithm_version %}' var query = '?fields=html_description,description,short_description'; -- GitLab