Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Templates can contain "placeholders" that will be replaced with real data from the supplier, the job or the project.

Templates can further contain conditional statements as described at the bottom.

Times are shown in the timezone of the platform owner. The timezone indicator is shown next to each date (e.g. "GMT+1")

Placeholders

Placeholder

Description

{{JobReference}}

The job reference.

{{JobDeadline}}

The job deadline. This field can be null if deadline not set.

{{JobDeadlineTimeLeft}}

The time left from now to the job deadline.

{{JobSourceLanguage}}

The source language.

{{JobTargetLanguage}}

The target language.

{{JobTask}}

The type of work, such as Translation, Revision, etc.

{{JobTaskCode}}

Internal code for the type of work such as TR, RV, PROOF, etc. Use only in the context of conditional statements.

{{JobStatus}}

The current status of the job.

{{JobStatusCode}}

An internal code for the current status. Use this for conditional statements. The possible values are: 'NotAssigned', 'Draft', 'Proposal', 'NotStarted', 'InProgress', 'Completed', 'Delivered', 'Inactive', 'Delivered', 'Archived', 'Rejected' and 'Cancelled'.

{{JobUrl}}

The url to the job details page.

{{SupplierName}}

The first and last name of the supplier.

{{SupplierFirstName}}

The first name of the supplier.

{{SupplierLastName}}

The last name of the supplier.

{{SupplierCompany}}

The company name of the supplier.

{{SupplierNameAndCompany}}

The supplier's full name and company name (comma separated).

{{SupplierNameInvAndCompany}}

The supplier's reversed full name and company name (comma separated). The reversed full name prints the last name and then the first name.

{{SupplierFirstNameOrFullNameOrCompany}}

Contains the supplier's first name. If no person specific assignment then returns the supplier contact name. If no contact name was supplied with the company record then it returns the company name.

{{SupplierNameOrCompany}}

The supplier first/last name if supplied, otherwise the destination company name.

{{SupplierNameInvOrCompany}}

The supplier last/first name if supplied, otherwise the destination company name.

{{SupplierEmail}}

The email of the supplier.

{{SupplierEmailUrl}}

The url to use in hyperlinks to send an email to the supplier. Example: mailto:john@dummy.com

{{SupplierLanguage}}

The supplier's preferred language of communication (language code). It can be set by the supplier.

{{SupplierTitle}}

The title of the supplier, such as Mr. or Mrs.

{{PlatformCompany}}

Your company name or the licensee of this platform.

{{PlatformEmail}}

Your contact email as specified in the 'My company' page.

{{PlatformEmailUrl}}

The url to use in hyperlinks to send an email to the platform. It is the same as PlatformEmail prefixed with 'mailto:', e.g. mailto:mycompany@dummy.com

{{PlatformUrl}}

Your company web site as specified under Settings. If not set this field is null.

Conditional statements

IF - ELSE - ENDIF

{% if JobStatusCode == 'InProgress' or JobStatusCode == 'Completed' %} In progress! {% else %} Not in progress! {% endif %}

CASE - WHEN - WHEN - ELSE - ENDCASE

{% case JobStatusCode %} {% when 'InProgress' %} In progress! {% when 'Cancelled' %}Cancelled! {% else %}Other status! {% endcase %}

  • No labels