Template Properties

A quick guide to template properties and template.yml file. When uploading your files, you may include a template.yml file in the root directory to set some optional configs for the template.

Core Settings

These settings are agnostic to the backend serving the template and are general.

Minifier behavior

By default, maestro moderately minifies the javascript, html and css files. Names don't get changed but comments get stripped away and indentations removed. This can disabled using:

core:
  skip_preprocessing: true

Portal Settings

These settings are specific to portal backend for maestro and will only get recognized when using the maestro portal as the backend.

Predefined Rejection Reasons

You may provide some predefined reasons for rejecting an assignment that gets presented in the review dashboard. You need to provide a code and a message. Code can be any integer value and it will be saved as an integer in order to ease querying for it later on.

Example config:

portal:
  rejection_reasons:
    - code: 1
      message: "Missed some important fields."
    - code: 2
      message: "I feel like rejecting everything today."

Once uploaded, you can view the properties by navigating to the template details page and clickng on properties in the top right corner.