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:
@ -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>
|
||||
<%
|
||||
}
|
||||
|
Reference in New Issue
Block a user