No Jira issue. Add tooltips to object property labels by pulling in the public description of th eproperty.
This commit is contained in:
parent
46695e9ba2
commit
7fa0c0acd8
3 changed files with 3 additions and 3 deletions
|
@ -4,7 +4,7 @@
|
|||
<#assign geographicFoci = propertyGroups.pullProperty("${core}geographicFocus")!>
|
||||
<#if geographicFoci?has_content> <#-- true when the property is in the list, even if not populated (when editing) -->
|
||||
<#assign localName = geographicFoci.localName>
|
||||
<h2 id="${localName}" class="mainPropGroup" style="clear:left">
|
||||
<h2 id="${localName}" class="mainPropGroup" style="clear:left" title="${geographicFoci.publicDescription!}">
|
||||
${geographicFoci.name?capitalize}
|
||||
<@p.addLink geographicFoci editable /> <@p.verboseDisplay geographicFoci />
|
||||
</h2>
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
<#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">${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 /> <@p.verboseDisplay positions /></h2>
|
||||
<ul id="individual-personInPosition" role="list">
|
||||
<@p.objectProperty positions editable />
|
||||
</ul>
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
<#assign concepts = propertyGroups.pullProperty("${core}hasAssociatedConcept")!>
|
||||
<#if researchAreas?has_content> <#-- true when the property is in the list, even if not populated (when editing) -->
|
||||
<#assign localName = researchAreas.localName>
|
||||
<h2 id="${localName}" class="mainPropGroup">
|
||||
<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 />
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue