No Jira issue. Add tooltips to object property labels by pulling in the public description of th eproperty.

This commit is contained in:
Tim Worrall 2015-07-10 12:15:02 -04:00
parent 46695e9ba2
commit 7fa0c0acd8
3 changed files with 3 additions and 3 deletions

View file

@ -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>

View file

@ -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>

View file

@ -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 />