NIHVIVO-1071 Attempting to restore function where we jump back to the property in when returning from an edit form. Still needs work (have to run a couple questions by Rebecca)
This commit is contained in:
parent
02b1ef29a7
commit
f5fb93df93
1 changed files with 17 additions and 18 deletions
|
@ -3,9 +3,9 @@
|
||||||
<#-- Template for property listing on individual profile page -->
|
<#-- Template for property listing on individual profile page -->
|
||||||
|
|
||||||
<#import "lib-properties.ftl" as p>
|
<#import "lib-properties.ftl" as p>
|
||||||
|
<#import "lib-dump.ftl" as dumper>
|
||||||
|
|
||||||
<#list propertyGroups.all as group>
|
<#list propertyGroups.all as group>
|
||||||
|
|
||||||
<#assign groupname = group.name(nameForOtherGroup)>
|
<#assign groupname = group.name(nameForOtherGroup)>
|
||||||
|
|
||||||
<section class="property-group" role="region">
|
<section class="property-group" role="region">
|
||||||
|
@ -22,15 +22,15 @@
|
||||||
|
|
||||||
<#-- List the properties in the group -->
|
<#-- List the properties in the group -->
|
||||||
<#list group.properties as property>
|
<#list group.properties as property>
|
||||||
|
<#assign propertyNameCamel = property.name?capitalize?replace(" ", "")?uncap_first />
|
||||||
<article class="property" role="article">
|
<article class="property" role="article">
|
||||||
<#-- Property display name -->
|
<#-- Property display name -->
|
||||||
<h3>${property.name} <@p.addLink property editing /></h3>
|
<h3 id="${propertyNameCamel}">${property.name} <@p.addLink property editing /></h3>
|
||||||
<#-- List the statements for each property -->
|
<#-- List the statements for each property -->
|
||||||
<ul class="property-list" role="list">
|
<ul class="property-list" role="list">
|
||||||
<#-- data property -->
|
<#-- data property -->
|
||||||
<#if property.type == "data">
|
<#if property.type == "data">
|
||||||
<@p.dataPropertyList property.statements editing />
|
<@p.dataPropertyList property.statements editing />
|
||||||
|
|
||||||
<#-- object property -->
|
<#-- object property -->
|
||||||
<#elseif property.collatedBySubclass> <#-- collated -->
|
<#elseif property.collatedBySubclass> <#-- collated -->
|
||||||
<@p.collatedObjectPropertyList property editing />
|
<@p.collatedObjectPropertyList property editing />
|
||||||
|
@ -42,4 +42,3 @@
|
||||||
</#list>
|
</#list>
|
||||||
</section> <!-- end property-group -->
|
</section> <!-- end property-group -->
|
||||||
</#list>
|
</#list>
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue