VIVO-970: added domain and range display limit fields to object property editing form. The display is now used with the 'more...' link on profile pages.

This commit is contained in:
Tim Worrall 2015-02-16 11:03:29 -05:00
parent 823133688a
commit 0a516b0a01
4 changed files with 35 additions and 5 deletions

View file

@ -240,6 +240,29 @@
</c:choose>
</td>
</tr>
<tr class="editformcell" >
<td valign="top" colspan="2" style="padding-top:25px">
<b>Display limit</b> for this property<br/>
<input type="text" class="shortInput" name="DomainDisplayLimit" value="<form:value name="DomainDisplayLimit"/>"/>
<c:set var="DomainDisplayLimitError"><form:error name="DomainDisplayLimit"/></c:set>
<c:if test="${!empty DomainDisplayLimitError}">
<span class="notice"><c:out value="${DomainDisplayLimitError}"/></span>
</c:if>
</td>
<td valign="top" colspan="2">
<b>Display limit</b> for inverse property<br/>
<input type="text" class="shortInput" name="RangeDisplayLimit" value="<form:value name="RangeDisplayLimit"/>"/>
<c:set var="RangeDisplayLimitError"><form:error name="RangeDisplayLimit"/></c:set>
<c:if test="${!empty RangeDisplayLimitError}">
<span class="notice"><c:out value="${RangeDisplayLimitError}"/></span>
</c:if>
</td>
</tr>
<tr class="editformcell" >
<td valign="top" colspan="6" style="padding-top:-12px">
The limit before the &quot;more ...&quot; button is displayed.<br/>
</td>
</tr>
<tr><td colspan="5"><hr class="formDivider"/></td></tr>
<tr class="editformcell">
<td valign="top" colspan="2">