in src/wagtail_localize_smartling/views.py [0:0]
def get_context_data(self, **kwargs):
context = super().get_context_data(**kwargs)
context["view"] = self
if smartling_url := smartling_job_url(self.object):
context["view_url"] = format_html(
'<a href="{}" title="Reference {}" target="_blank">{}</a>',
smartling_url,
self.object.reference_number,
_("View job in Smartling"),
)
return context