Update Random Access Lessons to not include the stage number in the text

We add the stage number programmatically now, since we want to be able
to skip some stages.


git-svn-id: http://webgoat.googlecode.com/svn/trunk@205 4033779f-a91e-0410-96ef-6bf7bf53c507
This commit is contained in:
rogan.dawes
2007-07-25 12:55:49 +00:00
parent add34a24dc
commit 7fd112bc5d
6 changed files with 19 additions and 19 deletions

View File

@ -100,7 +100,7 @@ StringBuffer buildList = new StringBuffer();
String[] stages = rla.getStages();
for (int i=0; i<stages.length; i++) {
%>
<tr><td align="right"><%=(rla.isStageComplete(webSession, stages[i]) ? lessonComplete : "")%><a href="<%=lesson.getLink() + "&stage=" + (i+1) %>"><%=stages[i] %></a>
<tr><td align="right"><%=(rla.isStageComplete(webSession, stages[i]) ? lessonComplete : "")%><a href="<%=lesson.getLink() + "&stage=" + (i+1) %>">Stage <%=i+1%>: <%=stages[i] %></a>
</td></tr>
<%
}