Improve verbose layout

This commit is contained in:
Graham Triggs 2017-09-29 12:42:30 +01:00
parent dfc2c6b613
commit ce9310b346
2 changed files with 4 additions and 2 deletions

View file

@ -8,8 +8,9 @@
<h2 id="${localName}" class="mainPropGroup" title="${researchAreas.publicDescription!}">
${researchAreas.name?capitalize}
<img id="researchAreaIcon" src="${urls.images}/individual/research-group-icon.png" alt="${i18n().research_areas}" />
<@p.addLink researchAreas editable /> <@p.verboseDisplay researchAreas />
<@p.addLink researchAreas editable />
</h2>
<@p.verboseDisplay researchAreas />
<ul id="individual-${localName}" role="list" >
<@p.objectProperty researchAreas editable />
</ul>

View file

@ -4,7 +4,8 @@
<#assign positions = propertyGroups.pullProperty("${core}relatedBy", "${core}Position")!>
<#if positions?has_content> <#-- true when the property is in the list, even if not populated (when editing) -->
<#assign localName = positions.localName>
<h2 id="${localName}" class="mainPropGroup" title="${positions.publicDescription!}">${positions.name?capitalize} <@p.addLink positions editable /> <@p.verboseDisplay positions /></h2>
<h2 id="${localName}" class="mainPropGroup" title="${positions.publicDescription!}">${positions.name?capitalize} <@p.addLink positions editable /></h2>
<@p.verboseDisplay positions />
<ul id="individual-personInPosition" role="list">
<@positionsList positions editable />
</ul>