{{#each competences as |group|}}
  {{#if @index}}/{{/if}}
  {{#with group}}
    {{#each list as |comp|}}
      <span class="item" data-item-id="{{comp._id}}"><a class="roll-competence">{{comp.name}}</a></span>{{~#unless (isLastIndex @index ../list)~}},{{/unless~}}
    {{/each}}
    {{numberFormat niveau decimals=0 sign=true}}
  {{/with}}
{{/each}}