#macro getParentSubject subject breadcrumb > <#if subject?has_content> <#if breadcrumb == ""> <#assign breadcrumbCopy = '' + subject.text + '' + " " /> <#else> <#assign breadcrumbCopy = '' + subject.text + '' + " > " + breadcrumb /> #if> <#if subject.getParent(plugin)?has_content && subject.idParent != 0 > <@getParentSubject subject=subject.getParent(plugin) breadcrumb=breadcrumbCopy /> <#else> ${breadcrumbCopy} #if> #if> #macro> <#macro subjectsListSelect items default_value exclude_value depth> <#if items?has_content > <#list items as subject > <#if exclude_value="${subject.id}"> <#else> <#assign child_subjects_list = subject.getChilds(plugin) /> <#if child_subjects_list?has_content> <@subjectsListSelect items=child_subjects_list default_value=default_value exclude_value=exclude_value depth=depth+1 /> #if> #if> #list> #if> #macro>
${error}
| Sujet | Question |
|---|---|
| <@getParentSubject subject=result.getSubject(plugin) breadcrumb="" /> | ${result.question} |