merging from rel-1.1-maint branch: removing "new" from form headings in attempt to minimize user confusion. Kept "new" for newIndividualForm.jsp but removed "individual" from tail end of heading. NIHVIVO-1012
This commit is contained in:
parent
d566b95530
commit
5e07aff4db
7 changed files with 9 additions and 9 deletions
|
@ -83,7 +83,7 @@ if ( ((String)request.getAttribute("predicateUri")).endsWith("hasPrincipalInvest
|
|||
<c:set var="disabledVal" value="disabled" />
|
||||
</c:when>
|
||||
<c:otherwise>
|
||||
<c:set var="formHeading" value="Create a new ${formHeading}" />
|
||||
<c:set var="formHeading" value="Create ${formHeading}" />
|
||||
<c:set var="editMode" value="add" />
|
||||
<c:set var="labelRequired" value="\"nonempty\"," />
|
||||
<c:set var="disabledVal" value="" />
|
||||
|
|
|
@ -227,7 +227,7 @@ SPARQL queries for existing values. --%>
|
|||
|
||||
<jsp:include page="${preForm}" />
|
||||
|
||||
<h2>Create a new publication entry for <%= subjectName %></h2>
|
||||
<h2>Create publication entry for <%= subjectName %></h2>
|
||||
|
||||
<%@ include file="unsupportedBrowserMessage.jsp" %>
|
||||
|
||||
|
|
|
@ -381,7 +381,7 @@ public static Log log = LogFactory.getLog("edu.cornell.mannlib.vitro.webapp.jsp.
|
|||
<c:set var="disabledVal" value="disabled" />
|
||||
</c:when>
|
||||
<c:otherwise>
|
||||
<c:set var="titleText" value="Create a new" />
|
||||
<c:set var="titleText" value="Create" />
|
||||
<c:set var="editMode" value="add" />
|
||||
<c:set var="submitButtonText" value="${buttonLabel}" />
|
||||
<c:set var="disabledVal" value="" />
|
||||
|
|
|
@ -173,7 +173,7 @@ parameter set up by editRequestDispatch.
|
|||
|
||||
<jsp:include page="${preForm}" />
|
||||
|
||||
<h2>Create a new ${typeName} individual</h2>
|
||||
<h2>Create a new ${typeName}</h2>
|
||||
|
||||
<form action="<c:url value="/edit/processRdfForm2.jsp"/>" >
|
||||
<c:if test="${! isPersonType}">
|
||||
|
|
|
@ -176,8 +176,8 @@
|
|||
request.setAttribute("title","Edit position history entry for "+ subject.getName());
|
||||
submitLabel = "Save changes";
|
||||
} else {
|
||||
request.setAttribute("title","Create a new position history entry for " + subject.getName());
|
||||
submitLabel = "Create new position history entry";
|
||||
request.setAttribute("title","Create position history entry for " + subject.getName());
|
||||
submitLabel = "Create position history entry";
|
||||
}
|
||||
%>
|
||||
|
||||
|
|
|
@ -351,9 +351,9 @@ the org type still gets asserted. --%>
|
|||
} else { // adding new entry
|
||||
%>
|
||||
<c:set var="editType" value="add" />
|
||||
<c:set var="title" value="Create a new educational background entry for ${subjectName}" />
|
||||
<c:set var="title" value="Create educational background entry for ${subjectName}" />
|
||||
<%-- NB This will be the button text when Javascript is disabled. --%>
|
||||
<c:set var="submitLabel" value="Create New Educational Background" />
|
||||
<c:set var="submitLabel" value="Create Educational Background" />
|
||||
<% }
|
||||
|
||||
List<String> customJs = new ArrayList<String>(Arrays.asList("/js/utils.js",
|
||||
|
|
|
@ -280,7 +280,7 @@
|
|||
%>
|
||||
<c:set var="editType" value="add" />
|
||||
<c:set var="formSteps" value="2" />
|
||||
<c:set var="title" value="Create a new position entry for ${subjectName}" />
|
||||
<c:set var="title" value="Create position entry for ${subjectName}" />
|
||||
<%-- NB This will be the button text when Javascript is disabled. --%>
|
||||
<c:set var="submitLabel" value="Create position" />
|
||||
<% }
|
||||
|
|
Loading…
Add table
Reference in a new issue