NIHVIVO-1704 Enable jump links after returning to individual profile after submitting an editing form. Pass property all the way down the property display macro chain, so any macro has access to property attributes like name, localname, and uri. Provide PropertyTemplateModel.getLocalName() and PropertyTemplateModel.getUri() for this purpose.
This commit is contained in:
parent
346d7ba4ce
commit
ce76206f7c
7 changed files with 49 additions and 46 deletions
|
@ -11,7 +11,7 @@
|
|||
<section id="individual-intro" class="vcard" role="region">
|
||||
<section id="share-contact" role="region">
|
||||
<#-- Image -->
|
||||
<@p.imageLinks individual propertyGroups editing />
|
||||
<@p.imageLinks individual propertyGroups editable />
|
||||
</section>
|
||||
|
||||
<section id="individual-info" role="region">
|
||||
|
@ -24,7 +24,7 @@
|
|||
<#-- Label -->
|
||||
<#assign label = individual.nameStatement>
|
||||
${label.value}
|
||||
<@p.editingLinks label editing />
|
||||
<@p.editingLinks label label editable />
|
||||
|
||||
<#-- Moniker -->
|
||||
<#if individual.moniker?has_content>
|
||||
|
@ -47,7 +47,7 @@
|
|||
</nav>
|
||||
|
||||
<#-- Links -->
|
||||
<@p.vitroLinks propertyGroups editing />
|
||||
<@p.vitroLinks propertyGroups editable />
|
||||
</section>
|
||||
</section>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue