Please enable JavaScript to view this site.

The manual for the JobRouter developer

Navigation: Dashboard API

Usage of handlebars

Scroll Prev Top Next More

Handlebar templates consist of a HTML structure that can be expanded by placeholders and blocks to dynamically expand the HTML. The most important functions are described in the following chapters. For more information, see the official documentation at handlebarsjs.com.

<div class="jr-dashboard-container">

<ul class="jr-dashboard-list">{{#each items}}

    <li class="jr-dashboard-list-item">

        {{#if this.value}}

            <span class="jr-dashboard-list-value">{{this.value}}</span>

        {{/if}}

        {{#if this.label}}

            <span class="jr-dashboard-list-label">{{this.label}}</span>

        {{/if}}

    </li>

{{else}}

    <p class="jr-dashboard-empty-widget">{{noEntries}}</p>

{{/each}}

</ul>

</div>