Show completion of individual lesson stages

git-svn-id: http://webgoat.googlecode.com/svn/trunk@201 4033779f-a91e-0410-96ef-6bf7bf53c507
This commit is contained in:
rogan.dawes 2007-07-18 13:37:31 +00:00
parent a2f99be11a
commit f9b5f8eddf

View File

@ -100,7 +100,7 @@ StringBuffer buildList = new StringBuffer();
String[] stages = rla.getStages(); String[] stages = rla.getStages();
for (int i=0; i<stages.length; i++) { for (int i=0; i<stages.length; i++) {
%> %>
<tr><td align="right"><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) %>"><%=stages[i] %></a>
</td></tr> </td></tr>
<% <%
} }