{namespace JIRA.Templates.GroupPickerUtil} /** * @param html Group suggestion name with highlighted substring * @param labels Labels for given group "ADMIN", "JIRA CORE" etc. */ {template .formatResponseWithLabels} {call .formatResponse data="all"} {param showLabels: true /} {/call} {/template} /** * @param html Group suggestion name with highlighted substring * @param labels Labels for given group "ADMIN", "JIRA CORE" etc. * @param? showLabels Show group label lozenges */ {template .formatResponse}
{$html|noescape} {if $showLabels} {foreach $label in $labels} {call JIRA.Templates.groupLabelLozenge} {param label: $label /} {/call} {sp} {/foreach} {/if}
{/template}