Commit 22ae5841 authored by Flavio TARSETTI's avatar Flavio TARSETTI

[plotters] added URL_PREFIX=context['URL_PREFIX'] in dict returned by plotters...

[plotters] added URL_PREFIX=context['URL_PREFIX'] in dict returned by plotters templatetags. Fixes #479
parent bf65b7bf
Pipeline #14266 passed with stage
in 33 minutes and 45 seconds
......@@ -109,6 +109,7 @@ def plotterparameter_sampleplot(context, plotterparameter):
plotter=plotter,
plotter_sample_data=plotter_sample_data.replace("\n",""),
panel_id=id,
URL_PREFIX=context['URL_PREFIX'],
)
@register.inclusion_tag('plotterparameters/panels/sample_plot.html', takes_context=True)
......@@ -133,6 +134,7 @@ def plotterparameter_sampleplot_display(context, plotter):
plotter=plotter,
plotter_sample_data=plotter_sample_data.replace("\n",""),
panel_id=id,
URL_PREFIX=context['URL_PREFIX'],
)
@register.inclusion_tag('plotterparameters/panels/viewer_editor_fork.html', takes_context=True)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment