NIHVIVO-631 NIHVIVO-1354 Updated dateTimePrecision and changed property name references to "education and training" to reflect latest updates to ontology
This commit is contained in:
parent
a637142ca9
commit
f2100e807c
1 changed files with 4 additions and 4 deletions
|
@ -348,7 +348,7 @@ core:dateTimePrecision (DateTimeValue : DateTimeValuePrecision)
|
||||||
|
|
||||||
//setup date time edit element
|
//setup date time edit element
|
||||||
Field dateTime = editConfig.getField("dateTime");
|
Field dateTime = editConfig.getField("dateTime");
|
||||||
dateTime.setEditElement( new DateTimeWithPrecision(dateTime, VitroVocabulary.Precision.YEAR));
|
dateTime.setEditElement( new DateTimeWithPrecision(dateTime, VitroVocabulary.Precision.YEAR.uri(), VitroVocabulary.Precision.NONE.uri()));
|
||||||
|
|
||||||
EditConfiguration.putConfigInSession(editConfig,session);
|
EditConfiguration.putConfigInSession(editConfig,session);
|
||||||
}
|
}
|
||||||
|
@ -374,14 +374,14 @@ core:dateTimePrecision (DateTimeValue : DateTimeValuePrecision)
|
||||||
<c:set var="editMode" value="edit" />
|
<c:set var="editMode" value="edit" />
|
||||||
<c:set var="titleVerb" value="Edit" />
|
<c:set var="titleVerb" value="Edit" />
|
||||||
<c:set var="title" value="Edit educational background entry for ${subjectName}" />
|
<c:set var="title" value="Edit educational background entry for ${subjectName}" />
|
||||||
<c:set var="submitButtonText" value="Edit Educational Training" />
|
<c:set var="submitButtonText" value="Edit Education and Training" />
|
||||||
<c:set var="disabledVal" value="disabled" />
|
<c:set var="disabledVal" value="disabled" />
|
||||||
<%
|
<%
|
||||||
} else { // adding new entry
|
} else { // adding new entry
|
||||||
%>
|
%>
|
||||||
<c:set var="editMode" value="add" />
|
<c:set var="editMode" value="add" />
|
||||||
<c:set var="titleVerb" value="Create" />
|
<c:set var="titleVerb" value="Create" />
|
||||||
<c:set var="submitButtonText" value="Educational Training" />
|
<c:set var="submitButtonText" value="Education and Training" />
|
||||||
<c:set var="disabledVal" value="" />
|
<c:set var="disabledVal" value="" />
|
||||||
<% }
|
<% }
|
||||||
|
|
||||||
|
@ -411,7 +411,7 @@ This goes to an experimental FM based form:
|
||||||
|
|
||||||
<jsp:include page="${preForm}" />
|
<jsp:include page="${preForm}" />
|
||||||
|
|
||||||
<h2>${titleVerb} educational training entry for <%= subjectName %></h2>
|
<h2>${titleVerb} education and training entry for <%= subjectName %></h2>
|
||||||
|
|
||||||
<form class="customForm" action="<c:url value="/edit/processRdfForm2.jsp"/>" >
|
<form class="customForm" action="<c:url value="/edit/processRdfForm2.jsp"/>" >
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue