{{#is this.type "department"}}
<h2>
    <a href="/organizations/{{org.id}}{{#if this.object.parent_id}}/departments/{{this.object.parent_id}}{{else}}/staff{{/if}}" class="root">.&thinsp;.</a>&nbsp;/
    {{#if (object_name this.object)}}
    {{i18n "staff.contents.department_name" name=(object_name this.object)}}
    {{else}}
    {{i18n "staff.contents.department_id" id=this.object.id}}
    {{/if}}
</h2>
{{/is}}
{{#is this.type "group"}}
<h2>
    <a href="/organizations/{{org.id}}/staff" class="root">.&thinsp;.</a>&nbsp;/
    {{#if (object_name this.object)}}
    {{i18n "staff.contents.group_name" name=(object_name this.object)}}
    {{else}}
    {{i18n "staff.contents.group_id" id=this.object.id}}
    {{/if}}
</h2>
{{/is}}