VIVO-904: the display limit annotation on data and faux properties now determines when the more... link is employed for one of these properties. Regular object properties will have a default limit of 5. Also, the add statement link is no longer suppressed when the display limit is reached.
This commit is contained in:
parent
ed9b82258d
commit
b21cd24489
4 changed files with 35 additions and 6 deletions
|
@ -67,4 +67,7 @@ li.selectedGroupTab {
|
|||
}
|
||||
li.groupTabSpacer {
|
||||
float:left;border-bottom: 1px solid #DFE6E5;background-color:#fff;width:3px;height:37px
|
||||
}
|
||||
div.additionalItems {
|
||||
margin-top: 0 !important;
|
||||
}
|
|
@ -42,7 +42,11 @@
|
|||
<h3 id="${property.localName}">${property.name} <@p.addLink property editable /> <@p.verboseDisplay property /> </h3>
|
||||
</#if>
|
||||
<#-- List the statements for each property -->
|
||||
<ul class="property-list" role="list" id="${property.localName}-${rangeClass}-List">
|
||||
<#assign limit = property.getDisplayLimit()!5 />
|
||||
<#if limit == -1 || limit == 0 >
|
||||
<#assign limit = 5 />
|
||||
</#if>
|
||||
<ul class="property-list" role="list" id="${property.localName}-${rangeClass}-List" displayLimit="${limit}">
|
||||
<#-- data property -->
|
||||
<#if property.type == "data">
|
||||
<@p.dataPropertyList property editable />
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue