Freemarker Lib for ccm-sci-types-department now also supports nav:attribute for short description
git-svn-id: https://svn.libreccm.org/ccm/trunk@6212 8810af33-2d31-482b-a856-94f89814c4dfmaster
parent
1af32913b0
commit
3f6f038649
|
|
@ -16,12 +16,14 @@
|
|||
</#function>
|
||||
|
||||
<#function getShortDescription data>
|
||||
<#if (data["./instituteShortDescription"]?size > 0)>
|
||||
<#if (data["./departmentShortDescription"]?size > 0)>
|
||||
<#return data["./departmentShortDescription"]>
|
||||
<#elseif (data["./shortDescription"]?size > 0)>
|
||||
<#return data["./shortDescription"]>
|
||||
<#elseif (data["./shortDesc"]?size > 0)>
|
||||
<#return data["./shortDesc"]>
|
||||
<#elseif (data["./nav:attribute[@name='departmentShortDescription']"]?size > 0)>
|
||||
<#return data["./nav:attribute[@name='departmentShortDescription']"]>
|
||||
</#if>
|
||||
</#function>
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue