diff --git a/dspace/config/Messages_en.properties b/dspace/config/Messages_en.properties index 8e74d68d2e..8298bc9d4b 100644 --- a/dspace/config/Messages_en.properties +++ b/dspace/config/Messages_en.properties @@ -822,6 +822,13 @@ jsp.submit.no-theses.info4 =For more information please contact the DSpa jsp.submit.no-theses.info5 =Thank you for your interest in DSpace! jsp.submit.no-theses.title =Theses Not Accepted in DSpace +jsp.submit.progressbar.select = Select +jsp.submit.progressbar.describe = Describe +jsp.submit.progressbar.upload = Upload +jsp.submit.progressbar.verify = Verify +jsp.submit.progressbar.license = License +jsp.submit.progressbar.complete = Complete + jsp.submit.saved.info =Your submission has been saved for you to finish later. You can continue the submission by going to your "My DSpace" page and clicking on the relevant "Resume" button. jsp.submit.saved.title =Submission Saved diff --git a/dspace/jsp/image/submit/current.gif b/dspace/jsp/image/submit/current.gif new file mode 100644 index 0000000000..5646a8299d Binary files /dev/null and b/dspace/jsp/image/submit/current.gif differ diff --git a/dspace/jsp/image/submit/done.gif b/dspace/jsp/image/submit/done.gif new file mode 100644 index 0000000000..130fc6b833 Binary files /dev/null and b/dspace/jsp/image/submit/done.gif differ diff --git a/dspace/jsp/image/submit/notdone.gif b/dspace/jsp/image/submit/notdone.gif new file mode 100644 index 0000000000..611bc3e922 Binary files /dev/null and b/dspace/jsp/image/submit/notdone.gif differ diff --git a/dspace/jsp/styles.css.jsp b/dspace/jsp/styles.css.jsp index ff3764be7c..432f072004 100644 --- a/dspace/jsp/styles.css.jsp +++ b/dspace/jsp/styles.css.jsp @@ -356,6 +356,33 @@ UL { font-family: "verdana", "Arial", "Helvetica", sans-serif; .submitProgressButton{ border: 0 } +.submitProgressButtonDone{ border: 0; + background-image: url(/image/submit/done.gif); + background-position: center; + height: 30px; + width: 90px; + font-size: 12pt; + color: black; + background-repeat: no-repeat; } + +.submitProgressButtonCurrent{ border: 0; + background-image: url(/image/submit/current.gif); + background-position: center; + height: 30px; + width: 90px; + font-size: 12pt; + color: white; + background-repeat: no-repeat; } + +.submitProgressButtonNotDone{ border: 0; + background-image: url(/image/submit/notdone.gif); + background-position: center; + height: 30px; + width: 90px; + font-size: 12pt; + color: black; + background-repeat: no-repeat; } + .miscTable { font-family: "verdana", "Arial", "Helvetica", sans-serif; font-size: 12pt; font-style: normal; diff --git a/dspace/jsp/submit/progressbar.jsp b/dspace/jsp/submit/progressbar.jsp index 449ce88c00..cdb92ba29c 100644 --- a/dspace/jsp/submit/progressbar.jsp +++ b/dspace/jsp/submit/progressbar.jsp @@ -60,34 +60,23 @@ <%@ page import="org.dspace.app.webui.servlet.SubmitServlet" %> <%@ page import="org.dspace.license.CreativeCommons" %> +<%@ page import="javax.servlet.jsp.jstl.fmt.LocaleSupport" %> <%@ taglib uri="http://www.dspace.org/dspace-tags.tld" prefix="dspace" %> +<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %> <% - // These are the filename stubs for the images used for each step - String[] imageNames = - { - "select", - "describe", - "describe", // all metadata edit steps mapped to this string - "upload", - "verify", - "license", - "license", - "complete" - }; - // Step names for ALT text in images String[] stepNames = { - "Select", - "Describe", - "Describe", // all metadata edit steps mapped to this string - "Upload", - "Verify", - "License", - "License", - "Complete" + LocaleSupport.getLocalizedMessage(pageContext, "jsp.submit.progressbar.select"), + LocaleSupport.getLocalizedMessage(pageContext, "jsp.submit.progressbar.describe"), + LocaleSupport.getLocalizedMessage(pageContext, "jsp.submit.progressbar.describe"), + LocaleSupport.getLocalizedMessage(pageContext, "jsp.submit.progressbar.upload"), + LocaleSupport.getLocalizedMessage(pageContext, "jsp.submit.progressbar.verify"), + LocaleSupport.getLocalizedMessage(pageContext, "jsp.submit.progressbar.license"), + LocaleSupport.getLocalizedMessage(pageContext, "jsp.submit.progressbar.license"), + LocaleSupport.getLocalizedMessage(pageContext, "jsp.submit.progressbar.complete") }; int step = Integer.parseInt(request.getParameter("current_stage")); @@ -142,14 +131,14 @@ { %> <%-- HACK: border=0 for non-CSS compliant Netscape 4.x --%> - + <% } else { // User has reached final step, cannot jump back %> -  <%= step2Name(idx,stepNames) %> (Done) - + <% } // skip unused metadata edit steps @@ -168,7 +157,7 @@ if (step > 0) { %> -  <%= step2Name(step,stepNames) %> (Current) - + <% } @@ -197,14 +186,14 @@ // Stage has been previously accessed, so user may jump to it %> <%-- HACK: border=0 for non-CSS compliant Netscape 4.x --%> - + <% } else { // Stage hasn't been reached yet (can't be jumped to) %> -  <%= step2Name(idx,stepNames) %> (Not Done) - + <% } // skip unused metadata edit steps @@ -220,4 +209,4 @@ %> - + \ No newline at end of file