in src/wagtail_localize_smartling/utils.py [0:0]
def format_smartling_job_url(job: "Job") -> str:
if job.status in (JobStatus.UNSYNCED, JobStatus.DELETED):
# Can't generate a link for a job that doesn't exist in Smartling
return ""
pid = quote(job.project.project_id)
jid = quote(job.translation_job_uid)
return urljoin(
_get_smartling_dashboard_base_url(),
f"/app/projects/{pid}/account-jobs/{pid}:{jid}",
)