{#if subActivity != null} {amount} {pluralize(subActivity.unitName, amount)} {:else} {amount} (unknown unit) {/if}